Magellan Linux

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

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

revision 397 by niro, Wed Jun 4 18:30:03 2008 UTC revision 419 by niro, Wed Jun 4 21:05:15 2008 UTC
# 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.6 2008-06-04 18:30:03 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.8 2008-06-04 21:05:15 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 547  import_settings_local() Line 547  import_settings_local()
547   echo   echo
548   echo -e ${COLMAGENTA}"Importing detected settings to local system"${COLDEFAULT}   echo -e ${COLMAGENTA}"Importing detected settings to local system"${COLDEFAULT}
549    
  if [[ ${ALX_CONFD_NETWORKING} = false ]]  
  then  
  #[ ! -d ${SETTINGSPATH} ] && install -d ${SETTINGSPATH}  
  #echo "${NETCARD_DRIVER}" > ${SETTINGSPATH}/modules  
   
  # set an device alias for modprobe.conf  
  [ ! -d /etc/modules.d ] && install -d /etc/modules.d  
  echo "alias eth0 ${NETCARD_DRIVER}" > /etc/modules.d/net.eth0  
   
  # regenerate modprobe.conf  
  [ -x $(which modules-update) ] && modules-update || echo "cannot regen modprobe.conf"  
  evaluate_retval  
  fi  
   
550   # set system state to 'already configured'   # set system state to 'already configured'
551   touch /etc/alxconfig-ng/state/configured   touch /etc/alxconfig-ng/state/configured
552    
# Line 849  case $1 in Line 835  case $1 in
835   # unset_alx_connected #--> now in alxsetstate-rc6   # unset_alx_connected #--> now in alxsetstate-rc6
836   # ! important !: del systemstate   # ! important !: del systemstate
837   [ -f /etc/alxconfig-ng/state/state ] && rm /etc/alxconfig-ng/state/state   [ -f /etc/alxconfig-ng/state/state ] && rm /etc/alxconfig-ng/state/state
  sleep 0.1  
838   ;;   ;;
839   *)   *)
840   echo "Usage: $0 {start|stop} ..."   echo "Usage: $0 {start|stop} ..."

Legend:
Removed from v.397  
changed lines
  Added in v.419