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