Magellan Linux

Diff of /alx-src/trunk/tinyalxconfig-ng/functions/config_network.sh

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

revision 391 by niro, Wed Jun 4 16:47:56 2008 UTC revision 392 by niro, Wed Jun 4 18:07:24 2008 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_network.sh,v 1.1 2008-06-04 16:47:56 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_network.sh,v 1.2 2008-06-04 18:07:24 niro Exp $
2  # configures networkin on the host via mysql db settings  # configures networkin on the host via mysql db settings
3    
4  get_network_settings()  get_network_settings()
# 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   # timeout after 10 seconds and quit after retrieving a lease
107   # -z will not   echo 'DHCP_START="-t 10 -q"' >> /etc/conf.d/net.${iface}
  echo 'DHCP_STOP="-z"' >> /etc/conf.d/net.${iface}  
  #timeout after 10 seconds  
  echo 'DHCP_START="-t 10"' >> /etc/conf.d/net.${iface}  
108   ;;   ;;
109    
110   static|STATIC)   static|STATIC)

Legend:
Removed from v.391  
changed lines
  Added in v.392