1270782Shrs#!/bin/sh 2270782Shrs# 3270782Shrs# $FreeBSD$ 4270782Shrs# 5270782Shrs 6270782Shrs# PROVIDE: ipropd_slave 7270782Shrs# REQUIRE: kdc 8270782Shrs# KEYWORD: shutdown 9270782Shrs 10270782Shrs. /etc/rc.subr 11270782Shrs 12270782Shrsname=ipropd_slave 13270782Shrsrcvar=${name}_enable 14270782Shrsrequired_files="$ipropd_slave_keytab" 15270782Shrsstart_precmd=${name}_start_precmd 16270782Shrs 17270782Shrsipropd_slave_start_precmd() 18270782Shrs{ 19270782Shrs 20273188Shrs if [ -z "$ipropd_slave_master" ]; then 21273188Shrs warn "\$ipropd_slave_master is empty." 22270782Shrs return 1 23270782Shrs fi 24270782Shrs command_args=" \ 25270782Shrs $command_args \ 26270782Shrs --keytab=\"$ipropd_slave_keytab\" \ 27270782Shrs --detach \ 28273188Shrs $ipropd_slave_master" 29270782Shrs} 30270782Shrs 31270782Shrsload_rc_config $name 32270782Shrsrun_rc_command "$1" 33