Magellan Linux

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

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

revision 2786 by niro, Fri Aug 26 12:26:55 2011 UTC revision 3457 by niro, Fri Apr 13 17:10:56 2012 UTC
# Line 778  preliminary_network() Line 778  preliminary_network()
778  reset_system_settings()  reset_system_settings()
779  {  {
780   # force load of de kbdkeys   # force load of de kbdkeys
781   loadkeys -q de   [ -x /usr/bin/loadkeys ] && loadkeys -q de
782     [ -x /sbin/loadkmap ] && loadkmap < /usr/share/busybox/keymaps/de.kmap
783   rc_echo   rc_echo
784   rc_echo -en ${COLRED}   rc_echo -en ${COLRED}
785   rc_echo -n "*** Warning: you are about to reset *all* local settings on this system!"   rc_echo -n "*** Warning: you are about to reset *all* local settings on this system!"
# Line 812  reset_system_settings() Line 813  reset_system_settings()
813   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}   [ -d ${ALX_UNPRIV_HOME} ] && rm -rf ${ALX_UNPRIV_HOME}
814    
815   # remove all ica-sessions   # remove all ica-sessions
816   find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs rm   find ${ALX_ICA_SESSIONS} -type f -name '*.ica' | xargs --no-run-if-empty rm
817    
818   # remove all old nics and modules configs   # remove all old nics and modules configs
819   find /etc/conf.d -type f -name 'net.*' | xargs rm   find /etc/conf.d -type f -name 'net.*' | xargs --no-run-if-empty rm
820   find /etc/modprobe.d -type f -name 'net.*' | xargs rm   find /etc/modprobe.d -type f -name 'net.*' | xargs --no-run-if-empty rm
821    
822   # restore default networking   # restore default networking
823   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.2786  
changed lines
  Added in v.3457