diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-02 14:46:05 -0400 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-06-02 21:39:39 +0200 |
commit | 7ff5404be1bad93cb8facbcae0bc78f77f9e067d (patch) | |
tree | 54ae442c85111936c31904f249a13d92919f134a /src/udev/keymap/keyboard-force-release.sh | |
parent | 48ac500bb65f1f2eb09704f15104eeebb9330d47 (diff) |
keymaps: replace dir tokens in keyboard-force-release
Use the correct udev libexec dir as well, not systemd's.
Diffstat (limited to 'src/udev/keymap/keyboard-force-release.sh')
-rwxr-xr-x | src/udev/keymap/keyboard-force-release.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/udev/keymap/keyboard-force-release.sh b/src/udev/keymap/keyboard-force-release.sh deleted file mode 100755 index a44fda2a2c..0000000000 --- a/src/udev/keymap/keyboard-force-release.sh +++ /dev/null @@ -1,22 +0,0 @@ -#/bin/sh -e -# read list of scancodes, convert hex to decimal and -# append to the atkbd force_release sysfs attribute -# $1 sysfs devpath for serioX -# $2 file with scancode list (hex or dec) - -case "$2" in - /*) scf="$2" ;; - *) scf="@pkglibexecdir@/keymaps/force-release/$2" ;; -esac - -read attr <"/sys/$1/force_release" -while read scancode dummy; do - case "$scancode" in - \#*) ;; - *) - scancode=$(($scancode)) - attr="$attr${attr:+,}$scancode" - ;; - esac -done <"$scf" -echo "$attr" >"/sys/$1/force_release" |