aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/base-files/files/etc/init.d/usb9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/usb b/package/base-files/files/etc/init.d/usb
new file mode 100644
index 0000000000..78f1c0d6a5
--- /dev/null
+++ b/package/base-files/files/etc/init.d/usb
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Copyright (C) 2006 OpenWrt.org
+#
+START=39
+start() {
+ [ -d /proc/bus/usb ] && {
+ /bin/mount -t usbfs none /proc/bus/usb
+ }
+}