Changed IP address order (N900 comes last now)
[mtetherd] / mtetherd-usbnet-disable.sh
index 317e350..62a368c 100755 (executable)
@@ -28,5 +28,13 @@ if [ $? != 0 ]; then
 fi
 
 /sbin/rmmod g_ether
+if [ $? != 0 ]; then
+    logger "$0: failed to unload g_ether"
+    exit 1
+fi
+
+# load this here or the system will not receive any USB events
+/sbin/modprobe g_file_storage
 
 exit 0
+