Magellan Linux

Diff of /alx-src/branches/alxconf-060/init.d/alxsettings

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

revision 2778 by niro, Fri Aug 26 11:49:43 2011 UTC revision 3456 by niro, Fri Apr 13 17:07:51 2012 UTC
# Line 32  source ${ALX_FUNCTIONS}/serial_functions Line 32  source ${ALX_FUNCTIONS}/serial_functions
32  source ${ALX_FUNCTIONS}/config_modules  source ${ALX_FUNCTIONS}/config_modules
33  source ${ALX_FUNCTIONS}/config_plugins  source ${ALX_FUNCTIONS}/config_plugins
34  source ${ALX_FUNCTIONS}/config_network  source ${ALX_FUNCTIONS}/config_network
35  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_printers  source ${ALX_FUNCTIONS}/config_printers
36  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_sessions  source ${ALX_FUNCTIONS}/config_sessions
37  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_x11  source ${ALX_FUNCTIONS}/config_x11
38  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_auth  source ${ALX_FUNCTIONS}/config_auth
39  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_ssh_auth  source ${ALX_FUNCTIONS}/config_ssh_auth
40  source ${ALX_FUNCTIONS}/usr/lib/alxconfig-ng/functions/config_versions  source ${ALX_FUNCTIONS}/config_versions
41    
42  # other needed vars  # other needed vars
43  ALX_HW_DETECT=false  ALX_HW_DETECT=false
# Line 812  reset_system_settings() Line 812  reset_system_settings()
812   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}
813    
814   # remove all ica-sessions   # remove all ica-sessions
815   find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs rm   find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs --no-run-if-empty rm
816    
817   # remove all old nics and modules configs   # remove all old nics and modules configs
818   find /etc/conf.d -type f -name 'net.*' | xargs rm   find /etc/conf.d -type f -name 'net.*' | xargs --no-run-if-empty rm
819   find /etc/modprobe.d -type f -name 'net.*' | xargs rm   find /etc/modprobe.d -type f -name 'net.*' | xargs --no-run-if-empty rm
820    
821   # restore default networking   # restore default networking
822   cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0   cat ${ALX_SKELETONS}/net/net.eth0 > /etc/conf.d/net.eth0

Legend:
Removed from v.2778  
changed lines
  Added in v.3456