Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=cfc9c9c52c7d92dd0c3e5cf5475a2c5b4c150ad8

commit cfc9c9c52c7d92dd0c3e5cf5475a2c5b4c150ad8
Author: Krisztian VASAS <[email protected]>
Date:   Sun Sep 25 10:04:37 2011 +0200

util-linux-2.19.1-3-x86_64
- fixed frugalwaregetty: setleds $1 instead of $2 ($2 is the speed, $1 is the 
tty)

diff --git a/source/base/util-linux/frugalwaregetty 
b/source/base/util-linux/frugalwaregetty
index f7ff50e..51dde3a 100644
--- a/source/base/util-linux/frugalwaregetty
+++ b/source/base/util-linux/frugalwaregetty
@@ -3,6 +3,6 @@
. /etc/sysconfig/numlock

if [ "$NUMLOCK_ON" = "1" ]; then
-       setleds +num < /dev/$2
+       setleds +num < /dev/$1
fi
exec /sbin/agetty $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to