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 446 by niro, Wed Jun 4 20:37:50 2008 UTC revision 447 by niro, Thu Jun 5 17:21:37 2008 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_network.sh,v 1.6 2008-06-04 20:37:50 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/functions/config_network.sh,v 1.7 2008-06-05 17:21:37 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 140  config_networking() Line 140  config_networking()
140   echo "nameserver ${ALX_DNS}" > /etc/resolv.conf   echo "nameserver ${ALX_DNS}" > /etc/resolv.conf
141   fi   fi
142    
 # have no samba anymore  
 # # setup smb.conf (little sed magic:)  
 # # first get smb version !  
 # local smbconf  
 # [[ $(smbd --version | cut -d' ' -f2) > 2.999 ]] && smbconf=smb3.conf || smbconf=smb.conf  
 #  
 # cat ${ALX_SKELETONS}/samba/${smbconf} > /etc/samba/smb.conf  
 # sed -i -e "s:\(workgroup = \).*:\1${ALX_DOMAIN}:" /etc/samba/smb.conf  
   
143   # wireless extensions   # wireless extensions
144   local value   local value
145   local var   local var

Legend:
Removed from v.446  
changed lines
  Added in v.447