setleds macht es umgekehrt, bernd wusste es nicht, pascal wusste es, hat es aber noch nicht korrigiert
This commit is contained in:
parent
1fe8b731c1
commit
c028fcaf06
|
@ -82,7 +82,7 @@ if [ -z ${DISPLAY} ]; then
|
|||
set_keymap "${NEO_CONSOLE_KEYMAP}"
|
||||
|
||||
if [ -e "${PATH_SETLEDS}" ]; then
|
||||
"${PATH_SETLEDS}" -num || die "Failed to set NUM status."
|
||||
"${PATH_SETLEDS}" +num || die "Failed to set NUM status."
|
||||
else
|
||||
die "setleds does not exist, cannot set NUM status."
|
||||
fi
|
||||
|
|
|
@ -83,9 +83,9 @@ if [ -z ${DISPLAY} ]; then
|
|||
|
||||
if [ -e "${PATH_SETLEDS}" ]; then
|
||||
if [ "${NUM_LOCK_STATUS}" = "on" ]; then
|
||||
"${PATH_SETLEDS}" +num || die "Failed to set num lock status to on."
|
||||
"${PATH_SETLEDS}" -num || die "Failed to set num lock status to on."
|
||||
else
|
||||
"${PATH_SETLEDS}" -num || die "Failed to set num lock status to off."
|
||||
"${PATH_SETLEDS}" +num || die "Failed to set num lock status to off."
|
||||
fi
|
||||
else
|
||||
die "setleds does not exist, cannot set NUM status."
|
||||
|
|
Loading…
Reference in New Issue