diff options
-rwxr-xr-x | numlock.xinit | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/numlock.xinit b/numlock.xinit index 3dba770..22a4895 100755 --- a/numlock.xinit +++ b/numlock.xinit @@ -19,12 +19,10 @@ # automatic execution of numlock. # DISPHOST=${DISPLAY%%:*} -if [ "$DISPHOST" = "" -o "$DISPHOST" = "localhost" -o "$DISPHOST" = "$HOSTNAME" ] - then +if [ "$DISPHOST" = "" -o "$DISPHOST" = "localhost" -o "$DISPHOST" = "$HOSTNAME" ]; then if [ -f /var/lock/subsys/numlock -a -x /usr/bin/enable_X11_numlock ]; then /usr/bin/enable_X11_numlock fi - else fi # numlock ends here |