aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-13 12:24:32 +0000
committerRoy Marples <roy@marples.name>2009-02-13 12:24:32 +0000
commitb60f437b527d755a288785beaf769a13cc6d4b0a (patch)
tree96f812ccf3065b1b5eb9e886f76f07eeb6ac6420
parentd6d2635c518b196961873a1a1a2112ac3c46bc76 (diff)
Fix the number of terminals to operate on.
Thanks to Dimitrios Christidis <chrjim@gmail.com>
-rw-r--r--init.d/numlock.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/numlock.in b/init.d/numlock.in
index 1a71367e..06adca7f 100644
--- a/init.d/numlock.in
+++ b/init.d/numlock.in
@@ -4,7 +4,7 @@
description="Turns numlock on for the consoles."
-ttyn=${rc_tty_number:-${RC_TTY_NUMBER}:-12}
+ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
depend()
{