Magellan Linux

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

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 94  read_value() Line 94  read_value()
94   local BRIDGE_PATH_COST   local BRIDGE_PATH_COST
95   local BRIDGE_PORT_PRIORITY   local BRIDGE_PORT_PRIORITY
96    
97     # point-to-point support
98     local POINTOPOINT
99    
100   source ${file}   source ${file}
101   eval value=\$$(echo ${var})   eval value=\$$(echo ${var})
102   echo "${value}"   echo "${value}"
# Line 490  networking_start() Line 493  networking_start()
493   fi   fi
494   ;;   ;;
495   static|STATIC)   static|STATIC)
496   ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}" ;;   ifconfig "${iface}" "${IP}" netmask "${NETMASK}" broadcast "${BROADCAST}"
497     if [[ -n ${POINTOPOINT} ]]
498     then
499     ifconfig "${iface}" "${IP}" pointopoint "${POINTOPOINT}"
500     fi
501     ;;
502   esac   esac
503    
504   # setup def gw   # setup def gw

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