fuse: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:49:58 +01:00
parent 4fea23e0cf
commit 21d12c517e

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv
@ -25,12 +23,8 @@
#
# runlevels: openelec, textmode
. /etc/profile
MOUNTPOINT=/sys/fs/fuse/connections
progress "Starting Fuse"
modprobe fuse >/dev/null 2>&1
mount -t fusectl fusectl $MOUNTPOINT >/dev/null 2>&1
(
progress "Starting Fuse"
modprobe fuse >/dev/null 2>&1
mount -t fusectl fusectl /sys/fs/fuse/connections >/dev/null 2>&1
)&