Deleted Added
full compact
netwait (223311) netwait (223408)
1#!/bin/sh
2
1#!/bin/sh
2
3# $FreeBSD: head/etc/rc.d/netwait 223311 2011-06-19 22:59:54Z dougb $
3# $FreeBSD: head/etc/rc.d/netwait 223408 2011-06-22 06:27:32Z dougb $
4#
5# PROVIDE: netwait
6# REQUIRE: NETWORKING
7# KEYWORD: nojail
8#
9# The netwait script is intended to be used by systems which have
10# statically-configured IP addresses in rc.conf(5). If your system
11# uses DHCP, you should use synchronous_dhclient="YES" in your
12# /etc/rc.conf instead of using netwait.
13
14. /etc/rc.subr
15
16name="netwait"
4#
5# PROVIDE: netwait
6# REQUIRE: NETWORKING
7# KEYWORD: nojail
8#
9# The netwait script is intended to be used by systems which have
10# statically-configured IP addresses in rc.conf(5). If your system
11# uses DHCP, you should use synchronous_dhclient="YES" in your
12# /etc/rc.conf instead of using netwait.
13
14. /etc/rc.subr
15
16name="netwait"
17rc_var=`set_rcvar`
17rcvar=`set_rcvar`
18
18start_cmd="${name}_start"
19stop_cmd=":"
20
21netwait_start()
22{
23 local ip rc count output link
24
25 if [ -z "${netwait_ip}" ]; then

--- 72 unchanged lines hidden ---
19start_cmd="${name}_start"
20stop_cmd=":"
21
22netwait_start()
23{
24 local ip rc count output link
25
26 if [ -z "${netwait_ip}" ]; then

--- 72 unchanged lines hidden ---