Deleted Added
full compact
ypupdated (136224) ypupdated (165664)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/ypupdated 136224 2004-10-07 13:55:26Z mtm $
3# $FreeBSD: head/etc/rc.d/ypupdated 165664 2006-12-30 22:53:20Z yar $
4#
5
6# PROVIDE: ypupdated
7# REQUIRE: rpcbind ypserv
8
9. /etc/rc.subr
10
11name="ypupdated"
12rcvar="rpc_ypupdated_enable"
13command="/usr/sbin/rpc.${name}"
14start_precmd="rpc_ypupdated_precmd"
15
16rpc_ypupdated_precmd()
17{
4#
5
6# PROVIDE: ypupdated
7# REQUIRE: rpcbind ypserv
8
9. /etc/rc.subr
10
11name="ypupdated"
12rcvar="rpc_ypupdated_enable"
13command="/usr/sbin/rpc.${name}"
14start_precmd="rpc_ypupdated_precmd"
15
16rpc_ypupdated_precmd()
17{
18 local _domain
19
18 if ! checkyesno rpcbind_enable && \
19 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
20 then
21 force_depend rpcbind || return 1
22 fi
23 if ! checkyesno nis_server_enable && \
24 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
25 then

--- 12 unchanged lines hidden ---
20 if ! checkyesno rpcbind_enable && \
21 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
22 then
23 force_depend rpcbind || return 1
24 fi
25 if ! checkyesno nis_server_enable && \
26 ! /etc/rc.d/ypserv forcestatus 1>/dev/null 2>&1
27 then

--- 12 unchanged lines hidden ---