[package] add missing fuse24 init script
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Jul 2009 08:49:13 +0000 (08:49 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 22 Jul 2009 08:49:13 +0000 (08:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16954 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/fuse24/files/fuse24.init [new file with mode: 0644]

diff --git a/package/fuse24/files/fuse24.init b/package/fuse24/files/fuse24.init
new file mode 100644 (file)
index 0000000..519db20
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2009 OpenWrt.org
+START=15
+
+start() {
+       if ls /lib/modules/$(uname -r)/fuse.* > /dev/null 2>&1; then
+               [ ! -d /dev/misc ] && umask 022 && mkdir /dev/misc;
+               ln -s /dev/fuse /dev/misc/;
+       fi
+}
This page took 0.020372 seconds and 4 git commands to generate.