Magellan Linux

Diff of /alx-src/trunk/tinyalxconfig-ng/init.d/alxsettings

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

revision 388 by niro, Wed Jun 4 16:54:35 2008 UTC revision 396 by niro, Wed Jun 4 18:24:04 2008 UTC
# Line 2  Line 2 
2    
3  # <niro@magellan-linux.de>  # <niro@magellan-linux.de>
4    
5  #%rlevels: 7:s 0:k 6:k  #%rlevels: 7:s 0:k
6  #%start: 41  #%start: 41
7  #%stop: 01  #%stop: 01
8    
# Line 11  Line 11 
11  #%before:  #%before:
12  #%after:  #%after:
13    
14  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.3 2008-06-04 16:54:35 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.5 2008-06-04 18:24:04 niro Exp $
15    
16  # checks first if the client was already configured and if it has an valid serial  # checks first if the client was already configured and if it has an valid serial
17  # if not it runs the autoconfiguration script  # if not it runs the autoconfiguration script
# Line 153  get_system_serial() Line 153  get_system_serial()
153   else   else
154   echo -e ${COLMAGENTA}"Preparing system for first boot"${COLDEFAULT}   echo -e ${COLMAGENTA}"Preparing system for first boot"${COLDEFAULT}
155   fi   fi
156   ALX_HW_DETECT=true   # cleaning up old data-crap
157   /etc/init.d/hwdetect start   if [ -d /etc/sysconfig/hwsetup ]
158     then
159     echo -e ${COLOREDSTAR}"Cleaning up old data ..."
160     rm -f /etc/sysconfig/hwsetup/*
161     fi
162     echo -en "${COLOREDSTAR}";hwsetup -p > /dev/null
163    
164   # set hostname to alx_default_hostname   # set hostname to alx_default_hostname
165   # use old hostname if this is a forced re-check   # use old hostname if this is a forced re-check

Legend:
Removed from v.388  
changed lines
  Added in v.396