aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-01-21 18:11:27 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-01-21 18:11:27 +0000
commit9582bbf43483d25d79d33a85c37df428cbd6b984 (patch)
treeee32f8fe34065ff7361351bb1860f5de82da3359 /package
parent6a0580d1b213188e0c2687e5bf7c27cadeb78bd7 (diff)
downloadmaster-187ad058-9582bbf43483d25d79d33a85c37df428cbd6b984.tar.gz
master-187ad058-9582bbf43483d25d79d33a85c37df428cbd6b984.tar.bz2
master-187ad058-9582bbf43483d25d79d33a85c37df428cbd6b984.zip
Mount usb filesystem at startup (#1077)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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
+ }
+}