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 219 by niro, Tue Mar 8 20:42:05 2005 UTC revision 239 by niro, Tue Apr 12 20:46:52 2005 UTC
# Line 1  Line 1 
1    # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.4 2005-04-12 20:45:55 niro Exp $
2  # configures networkin on the host via mysql db settings  # configures networkin on the host via mysql db settings
 # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.2 2005-03-08 20:42:05 niro Exp $  
3    
4  get_network_settings()  get_network_settings()
5  {  {
# Line 58  config_networking() Line 58  config_networking()
58    
59   # hostname && hosts   # hostname && hosts
60   echo "${ALX_HOSTNAME}" > /etc/hostname   echo "${ALX_HOSTNAME}" > /etc/hostname
61   echo -e "127.0.0.1\t${ALX_HOSTNAME}.${ALX_DOMAIN}\t${ALX_HOSTNAME}" > /etc/hosts   echo -e "127.0.0.1\tlocalhost\t${ALX_HOSTNAME}.${ALX_DOMAIN}\t${ALX_HOSTNAME}" > /etc/hosts
62    
63   # network devices   # network devices
64    

Legend:
Removed from v.219  
changed lines
  Added in v.239