diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-22 08:49:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-22 08:49:13 +0000 |
commit | 47dd6b07895af123169b79fddf1cd123af13c3cc (patch) | |
tree | 7af0346d53ddde2f3087a88d7105c835a092cfbd /package/fuse24/files/fuse24.init | |
parent | b483359d38915df7faebd820d823ead07a5054d4 (diff) | |
download | master-31e0f0ae-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.gz master-31e0f0ae-47dd6b07895af123169b79fddf1cd123af13c3cc.tar.bz2 master-31e0f0ae-47dd6b07895af123169b79fddf1cd123af13c3cc.zip |
add missing fuse24 init script
SVN-Revision: 16954
Diffstat (limited to 'package/fuse24/files/fuse24.init')
-rw-r--r-- | package/fuse24/files/fuse24.init | 10 |
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 +} |