]> git.pld-linux.org Git - packages/i8kutils.git/commitdiff
- s/bash/sh
authorhavner <havner@pld-linux.org>
Thu, 23 Dec 2004 02:17:56 +0000 (02:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed path to kbdrate and executable detection

Changed files:
    i8kbuttons.aumix -> 1.4

i8kbuttons.aumix

index 6653f31a233c86d9e714c2f359fb620d3435eba6..bfef6cc4683dab470cb0ae7d5c53fddbc08f059e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 if [ -f /etc/i8kbuttons.conf ]; then
         . /etc/i8kbuttons.conf
 else
@@ -8,5 +8,6 @@ fi
 exec /usr/bin/i8kbuttons -u "$I8KBUTTONS_UP_CMD" -d "$I8KBUTTONS_DOWN_CMD" \
        -m "$I8KBUTTONS_MUTE_CMD" -r "$I8KBUTTONS_TIMEOUT" &
                
-
-/sbin/kbdrate -r 30 -d 100 >/dev/null 2>&1 & echo
+if [ -x /usr/bin/kbdrate ]; then
+       /usr/bin/kbdrate -r 30 -d 100 >/dev/null 2>&1 & echo
+fi
This page took 0.674744 seconds and 4 git commands to generate.