openwrt/package/fuse24/files/fuse24.init
Florian Fainelli 47dd6b0789 add missing fuse24 init script
SVN-Revision: 16954
2009-07-22 08:49:13 +00:00

11 lines
230 B
Bash

#!/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
}