aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-22 08:49:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-22 08:49:13 +0000
commit47dd6b07895af123169b79fddf1cd123af13c3cc (patch)
tree7af0346d53ddde2f3087a88d7105c835a092cfbd /package
parentb483359d38915df7faebd820d823ead07a5054d4 (diff)
downloadupstream-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.gz
upstream-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.bz2
upstream-47dd6b07895af123169b79fddf1cd123af13c3cc.zip
add missing fuse24 init script
SVN-Revision: 16954
Diffstat (limited to 'package')
-rw-r--r--package/fuse24/files/fuse24.init10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/fuse24/files/fuse24.init b/package/fuse24/files/fuse24.init
new file mode 100644
index 0000000000..519db20a44
--- /dev/null
+++ b/package/fuse24/files/fuse24.init
@@ -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
+}