diff options
Diffstat (limited to 'hosts/alsvid3/postinst')
-rw-r--r-- | hosts/alsvid3/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
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 |