Magellan Linux

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

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

revision 265 by niro, Thu Apr 14 21:24:14 2005 UTC revision 266 by niro, Tue Apr 19 17:19:14 2005 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.6 2005-04-14 21:24:14 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.7 2005-04-19 17:19:14 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 98  config_networking() Line 98  config_networking()
98   echo "nameserver ${ALX_DNS}" > /etc/resolv.conf   echo "nameserver ${ALX_DNS}" > /etc/resolv.conf
99   fi   fi
100    
101     # setup smb.conf (little sed magic:)
102     cat ${ALX_SKELETONS}/samba/smb.conf > /etc/samba/smb.conf
103     sed -i -e "s:\(workgroup = \).*:\1${ALX_DOMAIN}:" /etc/samba/smb.conf
104    
105   # unset all vars   # unset all vars
106   unset ALX_HOSTNAME   unset ALX_HOSTNAME
107   unset ALX_MODULE   unset ALX_MODULE

Legend:
Removed from v.265  
changed lines
  Added in v.266