keyboard-configuration: correction of dpkg-reconfigure instruction, and positioned before password change

This commit is contained in:
Alexandre Alapetite 2012-06-17 01:06:12 +03:00
parent 57804e5963
commit e7e32a424c

View File

@ -109,7 +109,7 @@ do_change_pass() {
} }
do_configure_keyboard() { do_configure_keyboard() {
dpkg-reconfigure keyboard-setup && dpkg-reconfigure keyboard-configuration &&
printf "Reloading keymap. This may take a short while\n" && printf "Reloading keymap. This may take a short while\n" &&
invoke-rc.d keyboard-setup start invoke-rc.d keyboard-setup start
} }
@ -170,8 +170,8 @@ while true; do
"info" "Information about this tool" \ "info" "Information about this tool" \
"expand_rootfs" "Expand root partition to fill SD card" \ "expand_rootfs" "Expand root partition to fill SD card" \
"overscan" "Change overscan" \ "overscan" "Change overscan" \
"change_pass" "Change password for 'pi' user" \
"configure_keyboard" "Set keyboard layout" \ "configure_keyboard" "Set keyboard layout" \
"change_pass" "Change password for 'pi' user" \
"change_locale" "Set locale" \ "change_locale" "Set locale" \
"change_timezone" "Set timezone" \ "change_timezone" "Set timezone" \
"memory_split" "Change memory split" \ "memory_split" "Change memory split" \