From e81cb750fd3854a2e39869d600ebb2b7bd23f771 Mon Sep 17 00:00:00 2001 From: "Koushik K. Dutta" Date: Fri, 26 Feb 2010 17:44:33 -0800 Subject: [PATCH] not every implementation has the "enable" file --- extendedcommands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index a63163a..538cbb6 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -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"); -} \ No newline at end of file +}