aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+}