xref: /freebsd/libexec/rc/rc.d/ypldap (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1#!/bin/sh
2#
3#
4
5# PROVIDE: ypldap
6# REQUIRE: ypserv
7# BEFORE: DAEMON
8# KEYWORD: shutdown
9
10. /etc/rc.subr
11
12name="ypldap"
13rcvar="nis_ypldap_enable"
14
15load_rc_config $name
16
17command="/usr/sbin/${name}"
18command_args="${nis_ypldap_flags}"
19
20start_precmd="ypldap_precmd"
21
22ypldap_precmd()
23{
24	force_depend ypserv nis_server || return 1
25}
26run_rc_command "$1"
27