not every implementation has the "enable" file

This commit is contained in:
Koushik K. Dutta 2010-02-26 17:44:33 -08:00
parent 81d8ee59bb
commit e81cb750fd

View File

@ -379,5 +379,6 @@ void do_mount_usb_storage()
break;
}
system("echo '' > /sys/devices/platform/usb_mass_storage/lun0/file");
system("echo 0 > /sys/devices/platform/usb_mass_storage/lun0/enable");
}
}