summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/files/glusterd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/glusterfs/files/glusterd.sh')
-rwxr-xr-xfilesystems/glusterfs/files/glusterd.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/filesystems/glusterfs/files/glusterd.sh b/filesystems/glusterfs/files/glusterd.sh
deleted file mode 100755
index d9b4d31fc64..00000000000
--- a/filesystems/glusterfs/files/glusterd.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: glusterd.sh,v 1.10 2012/10/19 04:15:21 manu Exp $
-#
-
-# PROVIDE: glusterd
-# REQUIRE: rpcbind
-# BEFORE: glusterfsd
-
-$_rc_subr_loaded . /etc/rc.subr
-
-glusterd_precmd()
-{
- test -d @VARBASE@/lib/glusterd && return
- test -d @PREFIX@/etc/glusterd || return
- mv @PREFIX@/etc/glusterd @VARBASE@/lib/glusterd && \
- ln -s @VARBASE@/lib/glusterd @PREFIX@/etc/glusterd
-}
-
-name="glusterd"
-rcvar=$name
-command="@PREFIX@/sbin/${name}"
-start_precmd="glusterd_precmd"
-pidfile="/var/run/${name}.pid"
-command_args="-p ${pidfile}"
-required_files="@PREFIX@/etc/glusterfs/${name}.vol"
-
-load_rc_config $name
-run_rc_command "$1"
-