xref: /freebsd/libexec/rc/rc.d/ypldap (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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