Browse Source

Mount usb filesystem at startup (#1077)

SVN-Revision: 6163
Florian Fainelli 19 years ago
parent
commit
78af4adbc5
1 changed files with 9 additions and 0 deletions
  1. 9 0
      package/base-files/files/etc/init.d/usb

+ 9 - 0
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
+	}		
+}