Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_network.sh

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

revision 2001 by niro, Mon May 9 14:51:55 2011 UTC revision 2015 by niro, Mon May 9 16:02:37 2011 UTC
# Line 102  config_networking() Line 102  config_networking()
102    
103   case ${ALX_NETWORKING} in   case ${ALX_NETWORKING} in
104   dhcp|DHCP)   dhcp|DHCP)
105   echo 'DHCP_PROG="/sbin/dhcpcd"' >> /etc/conf.d/net.${iface}   echo 'DHCP_PROG="/sbin/udhcpc"' >> /etc/conf.d/net.${iface}
106   # -k kills the dhcp-cache at system shutdown   # -k kills the dhcp-cache at system shutdown
107   # -z will not   # -z will not
108   echo 'DHCP_STOP="-z"' >> /etc/conf.d/net.${iface}   echo 'DHCP_STOP=""' >> /etc/conf.d/net.${iface}
109   #timeout after 10 seconds   #timeout after 10 seconds
110   echo 'DHCP_START="-t 10"' >> /etc/conf.d/net.${iface}   echo 'DHCP_START="-t 10"' >> /etc/conf.d/net.${iface}
111   ;;   ;;

Legend:
Removed from v.2001  
changed lines
  Added in v.2015