setleds macht es umgekehrt, bernd wusste es nicht, pascal wusste es, hat es aber noch nicht korrigiert

This commit is contained in:
erik 2008-10-02 16:16:14 +00:00
parent 1fe8b731c1
commit c028fcaf06
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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."