diff options
-rw-r--r-- | hosts/logi1/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst index 3f6a0f2..f74fa53 100644 --- a/hosts/logi1/postinst +++ b/hosts/logi1/postinst @@ -58,6 +58,15 @@ cat >"${target}/etc/fancontrol" <<-EOF MINSTOP=hwmon4/device/pwm1=0 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 |