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}/* |