diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-22 08:49:13 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-22 08:49:13 +0000 |
commit | dbc7cc20bf2b5bb53cfbda812614270f81ac042c (patch) | |
tree | f1766ea8d6d85c2d6e3f3c5b41b211375b6017e8 /package | |
parent | 1fb1edc523a19eedf9aab0c5e031a3ed68f3325c (diff) |
[package] add missing fuse24 init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16954 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 000000000..519db20a4 --- /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 +} |