14 |
source ${rc_functions} |
source ${rc_functions} |
15 |
source /etc/conf.d/network |
source /etc/conf.d/network |
16 |
|
|
17 |
wait_online() |
iface_wait_online() |
18 |
{ |
{ |
19 |
local timeout="$1" |
local timeout="$1" |
20 |
local iface="$2" |
local iface="$2" |
477 |
checkconfig |
checkconfig |
478 |
|
|
479 |
# wait until the device is created |
# wait until the device is created |
480 |
wait_online 5 "${iface}" || { rc_echo "device '${iface}' does not exist"; continue; } |
iface_wait_online 5 "${iface}" || { rc_echo "device '${iface}' does not exist"; continue; } |
481 |
|
|
482 |
# setup mac |
# setup mac |
483 |
if [[ -n ${FORCE_MAC_TO} ]] |
if [[ -n ${FORCE_MAC_TO} ]] |