From 47dd6b07895af123169b79fddf1cd123af13c3cc Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 22 Jul 2009 08:49:13 +0000 Subject: [PATCH] add missing fuse24 init script SVN-Revision: 16954 --- 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 +}