From: Florian Fainelli Date: Wed, 22 Jul 2009 08:49:13 +0000 (+0000) Subject: add missing fuse24 init script X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=47dd6b07895af123169b79fddf1cd123af13c3cc;p=librecmc%2Flibrecmc.git add missing fuse24 init script SVN-Revision: 16954 --- 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 +}