Accepting request 958329 from home:wolfi323:branches:Base:System
- [kbdsettings] try to run numlockbios from /usr/libexec/kbd/ first as Tumbleweed moved to this location a while ago (boo#1179295) OBS-URL: https://build.opensuse.org/request/show/958329 OBS-URL: https://build.opensuse.org/package/show/Base:System/kbd?expand=0&rev=146
This commit is contained in:
parent
92ac8cb52c
commit
b7f0f2b97c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 18:29:13 UTC 2022 - Wolfgang Bauer <wbauer@tmo.at>
|
||||||
|
|
||||||
|
- [kbdsettings] try to run numlockbios from /usr/libexec/kbd/ first
|
||||||
|
as Tumbleweed moved to this location a while ago (boo#1179295)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 21 10:31:41 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
Mon Feb 21 10:31:41 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
@ -26,7 +26,11 @@ for i in NUM SCR CAPS; do
|
|||||||
/usr/bin/setleds -D -$param < /dev/$tty
|
/usr/bin/setleds -D -$param < /dev/$tty
|
||||||
;;
|
;;
|
||||||
bios)
|
bios)
|
||||||
bios=$(/usr/lib/kbd/numlockbios 2>/dev/null)
|
if [ -x /usr/libexec/kbd/numlockbios ]; then
|
||||||
|
bios=$(/usr/libexec/kbd/numlockbios 2>/dev/null)
|
||||||
|
else
|
||||||
|
bios=$(/usr/lib/kbd/numlockbios 2>/dev/null)
|
||||||
|
fi
|
||||||
if [ $param = "num" ]; then
|
if [ $param = "num" ]; then
|
||||||
if [ "$bios" = "on" ]; then
|
if [ "$bios" = "on" ]; then
|
||||||
touch /run/numlock-on
|
touch /run/numlock-on
|
||||||
|
Loading…
Reference in New Issue
Block a user