Magellan Linux

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

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

alx-src/branches/alxconf_20060908/alxconfig-ng/functions/config_network.sh revision 543 by niro, Wed Feb 4 19:51:39 2009 UTC alx-src/branches/alxconf-060/functions/config_network.sh revision 2015 by niro, Mon May 9 16:02:37 2011 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.14 2005-10-26 11:58:07 niro Exp $  # $Id$
2  # configures networkin on the host via mysql db settings  # configures networking on the host via mysql db settings
3    
4  get_network_settings()  get_network_settings()
5  {  {
# 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.543  
changed lines
  Added in v.2015