summaryrefslogtreecommitdiffstats
path: root/testing/fuse/fuse.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuse/fuse.initd')
-rw-r--r--testing/fuse/fuse.initd35
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/fuse/fuse.initd b/testing/fuse/fuse.initd
deleted file mode 100644
index 30b512e8..00000000
--- a/testing/fuse/fuse.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-MOUNTPOINT=/sys/fs/fuse/connections
-
-depend() {
- need localmount
-}
-
-start() {
-
- ebegin "Starting fuse"
- if ! grep -qw fuse /proc/filesystems; then
- modprobe fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
- fi
- if grep -qw fusectl /proc/filesystems && \
- ! grep -qw $MOUNTPOINT /proc/mounts; then
- mount -t fusectl none $MOUNTPOINT >/dev/null 2>&1 || \
- eerror $? "Error mounting control filesystem"
- fi
- eend ${?}
-
-}
-
-stop() {
-
- ebegin "Stopping fuse"
- if grep -qw $MOUNTPOINT /proc/mounts; then
- umount $MOUNTPOINT >/dev/null 2>&1 || \
- eerror $? "Error unmounting control filesystem"
- fi
- eend ${?}
-
-}