numlock: Don't disable numlock on shutdown
When dealing with remote consoles, a shutdown could disable host's numlock which is not desired. This fixes #413.
This commit is contained in:
parent
897c2c00ef
commit
1878a74a12
@ -42,6 +42,8 @@ start()
|
||||
|
||||
stop()
|
||||
{
|
||||
yesno $RC_GOINGDOWN && return 0
|
||||
|
||||
ebegin "Disabling numlock on ttys"
|
||||
_setleds -
|
||||
eend $? "Failed to disable numlock"
|
||||
|
Loading…
Reference in New Issue
Block a user