diff options
Diffstat (limited to 'net/openafs/files/afsserver.in')
-rw-r--r-- | net/openafs/files/afsserver.in | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net/openafs/files/afsserver.in b/net/openafs/files/afsserver.in deleted file mode 100644 index e8fab14e0240..000000000000 --- a/net/openafs/files/afsserver.in +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: afsserver -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# afsserver_enable (bool): Set to NO by default. -# Set it to YES to enable AFS server activities. - -. /etc/rc.subr - -name="afsserver" -rcvar="afsserver_enable" - -command="%%PREFIX%%/sbin/bosserver" - -stop_precmd="afsserver_prestop" - -vicedir="%%PREFIX%%/etc/openafs/server" -required_files="${vicedir}/CellServDB ${vicedir}/KeyFile ${vicedir}/ThisCell ${vicedir}/UserList" - -load_rc_config "$name" - -: ${afsserver_enable:="NO"} - -afsserver_prestop() -{ - %%PREFIX%%/bin/bos shutdown -localauth -server localhost -} - -run_rc_command "$1" |