diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 14:44:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 15:28:09 +0000 |
commit | 3b0dc1771fa0307544da6a6804e63676cb4dc0f1 (patch) | |
tree | 5f16f561f5adc9ebb4a4f76d5969295022e145f0 /testing/fuse3/fuse.initd | |
parent | e41e95a329ad2722fbb056aa2a0d00c7b3f31555 (diff) | |
download | aports-3b0dc1771fa0307544da6a6804e63676cb4dc0f1.tar.bz2 aports-3b0dc1771fa0307544da6a6804e63676cb4dc0f1.tar.xz |
main/fuse3: move from testing
Diffstat (limited to 'testing/fuse3/fuse.initd')
-rw-r--r-- | testing/fuse3/fuse.initd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/testing/fuse3/fuse.initd b/testing/fuse3/fuse.initd deleted file mode 100644 index 6c99929c22..0000000000 --- a/testing/fuse3/fuse.initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# 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 ${?} - -} |