9 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10 # to enable this service:
12 # afsserver_enable (bool): Set to NO by default.
13 # Set it to YES to enable AFS server activities.
18 rcvar
="afsserver_enable"
20 command="%%PREFIX%%/sbin/bosserver"
22 stop_precmd
="afsserver_prestop"
24 vicedir
="%%PREFIX%%/etc/openafs/server"
25 required_files
="${vicedir}/CellServDB ${vicedir}/KeyFile ${vicedir}/ThisCell ${vicedir}/UserList"
27 load_rc_config
"$name"
29 : ${afsserver_enable:="NO"}
33 %%PREFIX
%%/bin
/bos shutdown
-localauth -server localhost