mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 18:10:07 +09:00
preserve previous return status, ignoring udevadm
This commit is contained in:
parent
fc1d1719be
commit
2598353839
@ -190,8 +190,9 @@ do_change_pass() {
|
|||||||
do_configure_keyboard() {
|
do_configure_keyboard() {
|
||||||
dpkg-reconfigure keyboard-configuration &&
|
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 || return $?
|
||||||
udevadm trigger --subsystem-match=input --action=change
|
udevadm trigger --subsystem-match=input --action=change
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
do_change_locale() {
|
do_change_locale() {
|
||||||
|
Loading…
Reference in New Issue
Block a user