aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/numlock.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/numlock.in b/init.d/numlock.in
index 6c33c95f..b3cf8ed3 100644
--- a/init.d/numlock.in
+++ b/init.d/numlock.in
@@ -42,6 +42,8 @@ start()
stop()
{
+ yesno $RC_GOINGDOWN && return 0
+
ebegin "Disabling numlock on ttys"
_setleds -
eend $? "Failed to disable numlock"