From dbc7cc20bf2b5bb53cfbda812614270f81ac042c Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 22 Jul 2009 08:49:13 +0000 Subject: [package] add missing fuse24 init script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16954 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/fuse24/files/fuse24.init | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/fuse24/files/fuse24.init 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 +} -- cgit v1.2.3