Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | --- |
| 2 | actions/hotkey.sh | 3 --- |
| 3 | actions/suspend.sh | 3 --- |
| 4 | actions/vga-toggle.sh | 3 --- |
| 5 | actions/volume.sh | 3 --- |
| 6 | 4 files changed, 12 deletions(-) |
| 7 | |
| 8 | Upstream-Status: Inappropriate [configuration] |
| 9 | |
| 10 | Index: git/eeepc-acpi-scripts/volume.sh |
| 11 | =================================================================== |
| 12 | --- git.orig/eeepc-acpi-scripts/volume.sh 2011-11-29 19:21:55.000000000 +0800 |
| 13 | +++ git/eeepc-acpi-scripts/volume.sh 2011-11-29 19:41:36.000000000 +0800 |
| 14 | @@ -3,12 +3,10 @@ |
| 15 | [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 |
| 16 | # Volume controls |
| 17 | |
| 18 | -# do nothing if package is removed |
| 19 | PKG=eeepc-acpi-scripts |
| 20 | PKG_DIR=/usr/share/acpi-support/$PKG |
| 21 | FUNC_LIB=$PKG_DIR/lib/functions.sh |
| 22 | DEFAULT=/etc/default/$PKG |
| 23 | -[ -e "$FUNC_LIB" ] || exit 0 |
| 24 | |
| 25 | . $FUNC_LIB |
| 26 | . $PKG_DIR/lib/sound.sh |
| 27 | Index: git/eeepc-acpi-scripts/hotkey.sh |
| 28 | =================================================================== |
| 29 | --- git.orig/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:21:55.000000000 +0800 |
| 30 | +++ git/eeepc-acpi-scripts/hotkey.sh 2011-11-29 19:39:51.000000000 +0800 |
| 31 | @@ -1,12 +1,10 @@ |
| 32 | #!/bin/sh |
| 33 | |
| 34 | [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 |
| 35 | -# do nothing if package is removed |
| 36 | PKG=eeepc-acpi-scripts |
| 37 | PKG_DIR=/usr/share/acpi-support/$PKG |
| 38 | FUNC_LIB=$PKG_DIR/lib/functions.sh |
| 39 | DEFAULT=/etc/default/$PKG |
| 40 | -[ -e "$FUNC_LIB" ] || exit 0 |
| 41 | |
| 42 | case $(runlevel) in |
| 43 | *0|*6) |
| 44 | Index: git/eeepc-acpi-scripts/vga-toggle.sh |
| 45 | =================================================================== |
| 46 | --- git.orig/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:21:55.000000000 +0800 |
| 47 | +++ git/eeepc-acpi-scripts/vga-toggle.sh 2011-11-29 19:40:24.000000000 +0800 |
| 48 | @@ -1,12 +1,10 @@ |
| 49 | #!/bin/sh |
| 50 | |
| 51 | [ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] || exit 0 |
| 52 | -# do nothing if package is removed |
| 53 | PKG=eeepc-acpi-scripts |
| 54 | PKG_DIR=/usr/share/acpi-support/$PKG |
| 55 | FUNC_LIB=$PKG_DIR/lib/functions.sh |
| 56 | DEFAULT=/etc/default/$PKG |
| 57 | -[ -e "$FUNC_LIB" ] || exit 0 |
| 58 | |
| 59 | if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi |
| 60 | . $FUNC_LIB |