summaryrefslogtreecommitdiff
path: root/package/fuse24/files/fuse24.init
blob: 519db20a442de4f79d1c501b69742f0c1715037e (plain)
1
2
3
4
5
6
7
8
9
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
}