use force for setupcon

This commit is contained in:
Daniel Hansson 2019-07-17 13:47:05 +02:00 committed by GitHub
parent f11fecb5d0
commit 4769cbcc66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ then
else
dpkg-reconfigure keyboard-configuration
msg_box "We will now try to set the new keyboard layout directly in this session. If that fails, the server will be rebooted to apply the new keyboard settings.\n\nIf the server are rebooted, please login as usual and run this script again."
if ! setupcon
if ! setupcon --force
then
reboot
fi