add missing fuse24 init script

SVN-Revision: 16954
This commit is contained in:
Florian Fainelli 2009-07-22 08:49:13 +00:00
parent b483359d38
commit 47dd6b0789
1 changed files with 10 additions and 0 deletions

View File

@ -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
}