+ HAS_LINK=0 + '[' 0 == 1 ']' + sleep 1 + TRIES=1 + '[' 0 == 0 -a 1 -gt 0 ']' ++ get_if_link eth0 ++ cat /sys/class/net/eth0/carrier + HAS_LINK=0 + '[' 0 == 1 ']' + sleep 1 + TRIES=0 + '[' 0 == 0 -a 0 -gt 0 ']' + '[' 0 == 1 ']' + disable_interface eth0 + local interface=eth0 + serialize_me + '[' eni == eni ']' + FLOCKED=true + '[' -z true ']' + '[' eni == netscripts ']' + echo 'No link detected, skipping' No link detected, skipping * Stopping DHCP any connected, but unconfigured network interfaces [ OK ] * Starting configure network device [ OK ]
+ HAS_LINK=0 net/eth0/ carrier
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=1
+ '[' 0 == 0 -a 1 -gt 0 ']'
++ get_if_link eth0
++ cat /sys/class/
+ HAS_LINK=0
+ '[' 0 == 1 ']'
+ sleep 1
+ TRIES=0
+ '[' 0 == 0 -a 0 -gt 0 ']'
+ '[' 0 == 1 ']'
+ disable_interface eth0
+ local interface=eth0
+ serialize_me
+ '[' eni == eni ']'
+ FLOCKED=true
+ '[' -z true ']'
+ '[' eni == netscripts ']'
+ echo 'No link detected, skipping'
No link detected, skipping
* Stopping DHCP any connected, but unconfigured network interfaces [ OK ]
* Starting configure network device [ OK ]