ipropd_slave revision 270782
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/ipropd_slave 270782 2014-08-29 07:51:47Z hrs $ 4# 5 6# PROVIDE: ipropd_slave 7# REQUIRE: kdc 8# KEYWORD: shutdown 9 10. /etc/rc.subr 11 12name=ipropd_slave 13rcvar=${name}_enable 14required_files="$ipropd_slave_keytab" 15start_precmd=${name}_start_precmd 16 17ipropd_slave_start_precmd() 18{ 19 20 if [ -z "$ipropd_slave_masters" ]; then 21 warn "\$ipropd_slave_masters is empty." 22 return 1 23 fi 24 command_args=" \ 25 $command_args \ 26 --keytab=\"$ipropd_slave_keytab\" \ 27 --detach \ 28 $ipropd_slave_masters" 29} 30 31load_rc_config $name 32run_rc_command "$1" 33