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