Magellan Linux

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

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

revision 490 by niro, Sun Jun 8 10:56:39 2008 UTC revision 491 by niro, Sun Jun 8 11:07:16 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.15 2008-06-08 10:56:39 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/tinyalxconfig-ng/init.d/alxsettings,v 1.16 2008-06-08 11:07:16 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 597  reset_system_settings() Line 597  reset_system_settings()
597   rm -f /etc/alxconfig-ng/serial   rm -f /etc/alxconfig-ng/serial
598   rm -rf /etc/alxconfig-ng/state   rm -rf /etc/alxconfig-ng/state
599    
600   # clear all printers & net-shares   # clear all printers
601   :> /etc/cups/printers.conf   :> /etc/printcap
  :> /etc/samba/smb.conf  
   
  # remove inetd, cups & smb from init  
  rc-config del inetd &> /dev/null  
  rc-config del cups &> /dev/null  
  rc-config del samba &> /dev/null  
602    
603   # remove all user settings   # remove all user settings
604   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}

Legend:
Removed from v.490  
changed lines
  Added in v.491