Set keyboard layout to us + Added bash-completion

This commit is contained in:
2020-11-27 12:31:19 +01:00
parent 38b1e8560f
commit c3839afdc4
2 changed files with 7 additions and 1 deletions

View File

@@ -1 +1 @@
htop ufw nload fail2ban sudo
htop ufw nload fail2ban sudo bash-completion

View File

@@ -30,6 +30,12 @@ timedatectl set-timezone Europe/Amsterdam > $OUTPUT 2>&1
sed -i -e '/Port 22/c\Port 4242' -e 's/PermitRootLogin yes/PermitRootLogin prohibit-password/g' /etc/ssh/sshd_config > $OUTPUT 2>&1
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] || [ "$osrel" = "deb10" ] ; then
sed -i -e '/XKBLAYOUT=/c\XKBLAYOUT=us' -e '/XKBVARIANT=/c\XKBVARIANT="intl"' /etc/default/keyboard > $OUTPUT 2>&1
elif [ "$osrel" = "cent8" ]; then
localectl set-keymap us-int
fi
##----------##
# Swap #
##----------##