Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/netwait
Show All 15 Lines | |||||
# system uses DHCP, you should probably use synchronous_dhclient="YES" | # system uses DHCP, you should probably use synchronous_dhclient="YES" | ||||
# in your /etc/rc.conf instead of netwait_ip. | # in your /etc/rc.conf instead of netwait_ip. | ||||
# Either or both of the wait lists can be used (at least one must be | # Either or both of the wait lists can be used (at least one must be | ||||
# non-empty if netwait is enabled). | # non-empty if netwait is enabled). | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="netwait" | name="netwait" | ||||
desc="Wait for network devices or the network being up" | |||||
brueffer: "the network being up"? | |||||
rcvar="netwait_enable" | rcvar="netwait_enable" | ||||
start_cmd="${name}_start" | start_cmd="${name}_start" | ||||
stop_cmd=":" | stop_cmd=":" | ||||
netwait_start() | netwait_start() | ||||
{ | { | ||||
local ip rc count output link wait_if got_if any_error | local ip rc count output link wait_if got_if any_error | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |
"the network being up"?