summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc/fuse.init
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-28 19:50:17 -0500
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:14:58 -0300
commit4d6f304fcf80e7161ecdcf68117895526a92ca85 (patch)
tree25251120a2b39b34e2655fc55b57e473ae28d433 /pcr/openrc-misc/fuse.init
parent36a1a87cbf2435efa850805951c1a894e286d65c (diff)
downloadabslibre-4d6f304fcf80e7161ecdcf68117895526a92ca85.tar.gz
abslibre-4d6f304fcf80e7161ecdcf68117895526a92ca85.tar.bz2
abslibre-4d6f304fcf80e7161ecdcf68117895526a92ca85.zip
openrc-misc-20150828-1: updating version
Diffstat (limited to 'pcr/openrc-misc/fuse.init')
-rw-r--r--pcr/openrc-misc/fuse.init35
1 files changed, 0 insertions, 35 deletions
diff --git a/pcr/openrc-misc/fuse.init b/pcr/openrc-misc/fuse.init
deleted file mode 100644
index 30b512e8d..000000000
--- a/pcr/openrc-misc/fuse.init
+++ /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 ${?}
-
-}