Mount usb filesystem at startup (#1077)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Jan 2007 18:11:27 +0000 (18:11 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 21 Jan 2007 18:11:27 +0000 (18:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/usb [new file with mode: 0644]

diff --git a/package/base-files/files/etc/init.d/usb b/package/base-files/files/etc/init.d/usb
new file mode 100644 (file)
index 0000000..78f1c0d
--- /dev/null
@@ -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
+       }               
+}
This page took 0.027194 seconds and 4 git commands to generate.