projects
/
mtetherd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed IP address order (N900 comes last now)
[mtetherd]
/
mtetherd-usbnet-disable.sh
diff --git
a/mtetherd-usbnet-disable.sh
b/mtetherd-usbnet-disable.sh
index
317e350
..
62a368c
100755
(executable)
--- a/
mtetherd-usbnet-disable.sh
+++ b/
mtetherd-usbnet-disable.sh
@@
-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
+