View | Details | Raw Unified | Return to bug 236958
Collapse All | Expand All

(-)b/etc/rc.d/netwait (-1 / +16 lines)
Lines 4-10 Link Here
4
#
4
#
5
# PROVIDE: netwait
5
# PROVIDE: netwait
6
# REQUIRE: devd ipfilter ipfw pf routing
6
# REQUIRE: devd ipfilter ipfw pf routing
7
# KEYWORD: nojail
7
# KEYWORD: nojail resume
8
#
8
#
9
# The netwait script helps handle two situations:
9
# The netwait script helps handle two situations:
10
#  - Systems with USB or other late-attaching network hardware which
10
#  - Systems with USB or other late-attaching network hardware which
Lines 23-30 Link Here
23
name="netwait"
23
name="netwait"
24
desc="Wait for network devices or the network being up"
24
desc="Wait for network devices or the network being up"
25
rcvar="netwait_enable"
25
rcvar="netwait_enable"
26
rcvars="netwait_ip netwait_timeout netwait_if netwait_if_timeout"
26
27
28
netwait_enable_defval="NO"
29
netwait_ip_defval=""
30
netwait_timeout_defval="60"
31
netwait_if_defval=""
32
netwait_if_timeout_defval="30"
33
34
netwait_enable_desc="Enable rc.d/netwait (or NO)"
35
netwait_ip_desc="Wait for ping response from any IP in this list."
36
netwait_timeout_desc="Total number of seconds to perform pings."
37
netwait_if_desc="Wait for active link on each intf in this list."
38
netwait_if_timeout_desc="Total number of seconds to monitor link state."
39
40
extra_commands="resume"
27
start_cmd="${name}_start"
41
start_cmd="${name}_start"
42
resume_cmd="${name}_start"
28
stop_cmd=":"
43
stop_cmd=":"
29
44
30
netwait_start()
45
netwait_start()

Return to bug 236958