xref: /freebsd/libexec/rc/rc.d/ipropd_slave (revision 3231251399f9e60fc7175b6352eb5291e9296fe8)
1#!/bin/sh
2#
3# $FreeBSD$
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_master" ]; then
21		warn "\$ipropd_slave_master is empty."
22		return 1
23	fi
24	command_args=" \
25	    $command_args \
26	    --keytab=\"$ipropd_slave_keytab\" \
27	    --detach \
28	    $ipropd_slave_master"
29}
30
31load_rc_config $name
32run_rc_command "$1"
33