1#!/bin/sh 2# 3# 4 5# Start keyserv if we are running Secure RPC 6 7# PROVIDE: keyserv 8# REQUIRE: ypset 9# BEFORE: DAEMON 10# KEYWORD: shutdown 11 12. /etc/rc.subr 13 14name="keyserv" 15desc="Server for storing private encryption keys" 16rcvar="keyserv_enable" 17command="/usr/sbin/${name}" 18start_precmd="keyserv_prestart" 19 20keyserv_prestart() 21{ 22 force_depend rpcbind || return 1 23} 24 25load_rc_config $name 26run_rc_command "$1" 27