Magellan Linux

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

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

revision 3457 by niro, Fri Apr 13 17:10:56 2012 UTC revision 3458 by niro, Fri Apr 13 17:12:29 2012 UTC
# Line 781  reset_system_settings() Line 781  reset_system_settings()
781   [ -x /usr/bin/loadkeys ] && loadkeys -q de   [ -x /usr/bin/loadkeys ] && loadkeys -q de
782   [ -x /sbin/loadkmap ] && loadkmap < /usr/share/busybox/keymaps/de.kmap   [ -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!'
786   rc_echo -e ${COLDEFAULT}   rc_echo -e "${COLDEFAULT}"
787   rc_echo "*** Do you really want to continue ?"   rc_echo '--- Do you really want to continue ?'
788   rc_echo -n "*** Enter 'yes' to continue, anything else to abort: "   rc_echo -n '--- Enter 'yes' to continue, anything else to abort: '
789   read kbinsert   read kbinsert
790   if [[ ${kbinsert} = yes ]]   if [[ ${kbinsert} = yes ]]
791   then   then
792   rc_echo -en ${COLRED}   rc_echo -en "${COLRED}"
793   rc_echo -n "*** OK, you really want it ... killing all settings: "   rc_echo -n '--- OK, you really want it ... killing all settings: '
794   for i in 3 2 1 now   for i in 3 2 1 now
795   do   do
796   rc_echo -n " ${i}"   rc_echo -n " ${i}"
797   sleep 1   sleep 1
798   done   done
799   rc_echo -e ${COLDEFAULT}   rc_echo -e "${COLDEFAULT}"
800    
801   ## reset all settings:   ## reset all settings:
802   rm -rf ${SETTINGSPATH}/*   rm -rf ${SETTINGSPATH}/*

Legend:
Removed from v.3457  
changed lines
  Added in v.3458