Magellan Linux

Diff of /alx-src/trunk/alxconfig-ng/init.d/alxsetstate

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

revision 227 by niro, Wed Mar 9 00:04:18 2005 UTC revision 228 by niro, Wed Mar 9 00:05:50 2005 UTC
# Line 9  Line 9 
9  #%before:  #%before:
10  #%after:  #%after:
11    
12  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/alxsetstate,v 1.3 2005-03-09 00:04:18 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/init.d/alxsetstate,v 1.4 2005-03-09 00:05:50 niro Exp $
13    
14  source /etc/sysconfig/rc  source /etc/sysconfig/rc
15  source $rc_functions  source $rc_functions
# Line 29  ALX_HW_DETECT=false Line 29  ALX_HW_DETECT=false
29  unset ALX_SERIAL ALX_STATE  unset ALX_SERIAL ALX_STATE
30    
31  #get current system state  #get current system state
32  if [ -f /etc/alx-config/state/state ]  if [ -f /etc/alxconfig-ng/state/state ]
33  then  then
34   source /etc/alx-config/state/state   source /etc/alxconfig-ng/state/state
35  else  else
36   ALX_STATE=error   ALX_STATE=error
37  fi  fi
# Line 124  unset_alx_connected(){ Line 124  unset_alx_connected(){
124  ########### starts here ################  ########### starts here ################
125    
126  #first of all get current system serial  #first of all get current system serial
127  if [ -f /etc/alx-config/serial ]  if [ -f /etc/alxconfig-ng/serial ]
128  then  then
129   source /etc/alx-config/serial   source /etc/alxconfig-ng/serial
130  else  else
131   ALX_SERIAL=0   ALX_SERIAL=0
132  fi  fi

Legend:
Removed from v.227  
changed lines
  Added in v.228