Magellan Linux

Diff of /trunk/initscripts/systemd/units/scripts/network.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2307 by niro, Thu Jan 2 13:28:42 2014 UTC revision 2308 by niro, Thu Jan 2 13:33:44 2014 UTC
# Line 15  wait_online() Line 15  wait_online()
15   while [ ! -e /sys/class/net/${iface} ]   while [ ! -e /sys/class/net/${iface} ]
16   do   do
17   (( timeout-- > 0 )) || return 1   (( timeout-- > 0 )) || return 1
18     echo "waiting 0.1 seconds for device '${iface}' - timeout->'${timeout}'"
19   sleep 0.1   sleep 0.1
20   done   done
21    

Legend:
Removed from v.2307  
changed lines
  Added in v.2308