[package] add missing fuse24 init script
authorFlorian Fainelli <florian@openwrt.org>
Wed, 22 Jul 2009 08:49:13 +0000 (08:49 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 22 Jul 2009 08:49:13 +0000 (08:49 +0000)
SVN-Revision: 16954

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