| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/syno/etc/ |
Upload File : |
#!/bin/sh
UNBIND_FILE="/sys/module/usbcore/drivers/usb:usb/unbind"
USBSTOR_DIR="/sys/module/usb_storage/drivers/usb:usb-storage/"
if [ ! -e ${UNBIND_FILE} -o ! -d ${USBSTOR_DIR} ]; then
exit
fi
for file in `ls ${USBSTOR_DIR} | grep :`
do
num=`echo ${file} | cut -d : -f 1`
echo ${num} > ${UNBIND_FILE}
done