From 147ca75a7e2720a52ff5c49df2a1929b2467a4aa Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 17 Jun 2019 17:40:36 +0200 Subject: [PATCH] sys-fs/fuse: remove unused files Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/12274 Signed-off-by: Aaron Bauman --- sys-fs/fuse/files/fuse-fbsd.init | 23 --------------------- sys-fs/fuse/files/fuse.init | 35 -------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 sys-fs/fuse/files/fuse-fbsd.init delete mode 100644 sys-fs/fuse/files/fuse.init diff --git a/sys-fs/fuse/files/fuse-fbsd.init b/sys-fs/fuse/files/fuse-fbsd.init deleted file mode 100644 index 27d90cc867f3..000000000000 --- a/sys-fs/fuse/files/fuse-fbsd.init +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount -} - -start() { - ebegin "Starting fuse" - if ! kldstat -q -m fuse; then - kldload fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module" - fi - eend ${?} -} - -stop() { - ebegin "Stopping fuse" - if kldstat -q -m fuse; then - kldunload fuse >/dev/null 2>&1 || eerror $? "Error unloading fuse module" - fi - eend ${?} -} diff --git a/sys-fs/fuse/files/fuse.init b/sys-fs/fuse/files/fuse.init deleted file mode 100644 index 6c99929c2266..000000000000 --- a/sys-fs/fuse/files/fuse.init +++ /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 ${?} - -} -- 2.26.2