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 | c3446630cfc0bb5b54c044540a7dc2245e47bf46 (patch) | |
tree | f1766ea8d6d85c2d6e3f3c5b41b211375b6017e8 /package/fuse24 | |
parent | 5639aafe1d6d96cc33f6da329725ce739ca042d2 (diff) | |
download | upstream-c3446630cfc0bb5b54c044540a7dc2245e47bf46.tar.gz upstream-c3446630cfc0bb5b54c044540a7dc2245e47bf46.tar.bz2 upstream-c3446630cfc0bb5b54c044540a7dc2245e47bf46.zip |
[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/fuse24')
-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 +} |