Magellan Linux

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

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

revision 2381 by niro, Thu Jan 2 14:21:05 2014 UTC revision 2382 by niro, Tue Jan 7 12:02:04 2014 UTC
# Line 5  Line 5 
5  # get default settings  # get default settings
6  source /etc/conf.d/network  source /etc/conf.d/network
7    
8  wait_online()  iface_wait_online()
9  {  {
10   local timeout="$1"   local timeout="$1"
11   local iface="$2"   local iface="$2"
# Line 446  networking_start() Line 446  networking_start()
446   checkconfig   checkconfig
447    
448   # wait until the device is created   # wait until the device is created
449   wait_online 5 "${iface}" || { echo "device '${iface}' does not exist"; continue; }   iface_wait_online 5 "${iface}" || { echo "device '${iface}' does not exist"; continue; }
450    
451   # setup mac   # setup mac
452   if [[ -n ${FORCE_MAC_TO} ]]   if [[ -n ${FORCE_MAC_TO} ]]

Legend:
Removed from v.2381  
changed lines
  Added in v.2382