From: Florian Fainelli Date: Sun, 21 Jan 2007 18:11:27 +0000 (+0000) Subject: Mount usb filesystem at startup (#1077) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=78af4adbc529958c866292324f551fd07bd51bdb;p=openwrt%2Fstaging%2Fnbd.git Mount usb filesystem at startup (#1077) SVN-Revision: 6163 --- 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 + } +}