summaryrefslogtreecommitdiff
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
parentb483359d38915df7faebd820d823ead07a5054d4 (diff)
downloadmtk-20170518-47dd6b07895af123169b79fddf1cd123af13c3cc.zip
mtk-20170518-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.gz
mtk-20170518-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.bz2
add missing fuse24 init script
SVN-Revision: 16954
-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 0000000..519db20
--- /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
+}