From f1df2a74a7d17438dcd7d79eb2c1e5fa4f902ca9 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 21 Jan 2007 18:11:27 +0000 Subject: [PATCH] Mount usb filesystem at startup (#1077) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/usb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 package/base-files/files/etc/init.d/usb 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 000000000..78f1c0d6a --- /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 + } +} -- 2.20.1