diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/alsvid3/pkgs | 3 | ||||
-rw-r--r-- | hosts/alsvid3/postinst | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/hosts/alsvid3/pkgs b/hosts/alsvid3/pkgs index 8ac8b1e..7937bc4 100644 --- a/hosts/alsvid3/pkgs +++ b/hosts/alsvid3/pkgs @@ -2,6 +2,8 @@ bc busybox time +# Console utilities + kbd # Shells bash bash-completion @@ -161,6 +163,7 @@ printer-driver-escpr system-config-printer # X.org X server, drivers, and utilities + numlockx wmctrl x11-xserver-utils xdotool diff --git a/hosts/alsvid3/postinst b/hosts/alsvid3/postinst index 1144bb8..8bb5872 100644 --- a/hosts/alsvid3/postinst +++ b/hosts/alsvid3/postinst @@ -27,6 +27,15 @@ cat >"${target}/boot/grub/libreboot_grub.cfg" <<-EOF boot EOF +# Turn on numlock on the VTs. +cat >"${target}/etc/rc.local" <<'EOF' +#!/bin/sh -e + +for tty in /dev/tty[1-6]; do + /usr/bin/setleds -D +num 0<"${tty}" +done +EOF + # Disable mpd service. in_target update-rc.d mpd disable |