xref: /freebsd/libexec/rc/rc.d/ipropd_slave (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
16: ${ipropd_slave_svcj_options:="net_basic"}
17
18ipropd_slave_start_precmd()
19{
20
21	if [ -z "$ipropd_slave_master" ]; then
22		warn "\$ipropd_slave_master is empty."
23		return 1
24	fi
25}
26
27load_rc_config $name
28
29command_args=" \
30    command_args \
31    --keytab=\"$ipropd_slave_keytab\" \
32    --detach \
33    $ipropd_slave_master"
34
35run_rc_command "$1"
36