Magellan Linux

Diff of /trunk/initscripts/sysvinit/rc/network

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

revision 2910 by niro, Tue Jan 7 12:13:29 2014 UTC revision 2911 by niro, Thu Nov 26 14:14:05 2015 UTC
# Line 102  read_value() Line 102  read_value()
102   local BRIDGE_PATH_COST   local BRIDGE_PATH_COST
103   local BRIDGE_PORT_PRIORITY   local BRIDGE_PORT_PRIORITY
104    
105     # point-to-point support
106     local POINTOPOINT
107    
108   source ${file}   source ${file}
109   eval value=\$$(echo ${var})   eval value=\$$(echo ${var})
110   echo "${value}"   echo "${value}"
# Line 533  networking_start() Line 536  networking_start()
536   rc_echo "[STATIC]"   rc_echo "[STATIC]"
537   ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}"   ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}"
538   evaluate_retval   evaluate_retval
539     if [[ -n ${POINTOPOINT} ]]
540     then
541     rc_echo "Adding point-to-point route to '${POINTOPOINT}' on interface '${iface}'"
542     ifconfig "${iface}" "${IP}" pointopoint "${POINTOPOINT}"
543     evaluate_retval
544     fi
545   ;;   ;;
546   esac   esac
547    

Legend:
Removed from v.2910  
changed lines
  Added in v.2911