summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch')
-rw-r--r--meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch76
1 files changed, 37 insertions, 39 deletions
diff --git a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
index 8f6c4fcaad..3e80b7fddf 100644
--- a/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
+++ b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
@@ -5,56 +5,54 @@
5 actions/volume.sh | 3 --- 5 actions/volume.sh | 3 ---
6 4 files changed, 12 deletions(-) 6 4 files changed, 12 deletions(-)
7 7
8Index: git/actions/hotkey.sh 8Index: git/eeepc-acpi-scripts/hotkey.sh
9=================================================================== 9===================================================================
10--- git.orig/actions/hotkey.sh 2008-09-25 11:00:58.000000000 +0200 10--- git.orig/eeepc-acpi-scripts/hotkey.sh 2010-11-28 16:02:17.000000000 +0800
11+++ git/actions/hotkey.sh 2008-09-25 11:01:04.000000000 +0200 11+++ git/eeepc-acpi-scripts/hotkey.sh 2010-11-28 16:02:44.000000000 +0800
12@@ -1,8 +1,5 @@ 12@@ -1,12 +1,10 @@
13 #!/bin/sh 13 #!/bin/sh
14 14
15 test -d /sys/bus/platform/devices/eeepc || exit 0
15-# do nothing if package is removed 16-# do nothing if package is removed
16-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 17 PKG=eeepc-acpi-scripts
17- 18 PKG_DIR=/usr/share/acpi-support/$PKG
18 . /etc/default/eeepc-acpi-scripts 19 FUNC_LIB=$PKG_DIR/lib/functions.sh
19 . /usr/share/eeepc-acpi-scripts/functions.sh 20 DEFAULT=/etc/default/$PKG
20 . /etc/acpi/lib/notify.sh 21-[ -e "$FUNC_LIB" ] || exit 0
21Index: git/actions/suspend.sh
22===================================================================
23--- git.orig/actions/suspend.sh 2008-09-25 11:00:32.000000000 +0200
24+++ git/actions/suspend.sh 2008-09-25 11:00:37.000000000 +0200
25@@ -1,8 +1,5 @@
26 #!/bin/sh
27 22
28-# do nothing if package is removed 23 case $(runlevel) in
29-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 24 *0|*6)
30- 25Index: git/eeepc-acpi-scripts/vga-toggle.sh
31 if (runlevel | grep -q [06]) || (pidof '/sbin/shutdown' > /dev/null); then
32 exit 0
33 fi
34Index: git/actions/vga-toggle.sh
35=================================================================== 26===================================================================
36--- git.orig/actions/vga-toggle.sh 2008-09-25 11:02:00.000000000 +0200 27--- git.orig/eeepc-acpi-scripts/vga-toggle.sh 2010-11-28 16:03:57.000000000 +0800
37+++ git/actions/vga-toggle.sh 2008-09-25 11:02:06.000000000 +0200 28+++ git/eeepc-acpi-scripts/vga-toggle.sh 2010-11-28 16:04:03.000000000 +0800
38@@ -1,8 +1,5 @@ 29@@ -1,12 +1,10 @@
39 #!/bin/sh 30 #!/bin/sh
40 31
32 test -d /sys/bus/platform/devices/eeepc || exit 0
41-# do nothing if package is removed 33-# do nothing if package is removed
42-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 34 PKG=eeepc-acpi-scripts
43- 35 PKG_DIR=/usr/share/acpi-support/$PKG
44 . /etc/default/eeepc-acpi-scripts 36 FUNC_LIB=$PKG_DIR/lib/functions.sh
37 DEFAULT=/etc/default/$PKG
38-[ -e "$FUNC_LIB" ] || exit 0
45 39
46 # return: 0 on disconnect, 1 on connected vga, 2 else 40 if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
47Index: git/actions/volume.sh 41 . $FUNC_LIB
42Index: git/eeepc-acpi-scripts/volume.sh
48=================================================================== 43===================================================================
49--- git.orig/actions/volume.sh 2008-09-25 11:02:13.000000000 +0200 44--- git.orig/eeepc-acpi-scripts/volume.sh 2010-11-28 16:04:34.000000000 +0800
50+++ git/actions/volume.sh 2008-09-25 11:02:19.000000000 +0200 45+++ git/eeepc-acpi-scripts/volume.sh 2010-11-28 16:04:40.000000000 +0800
51@@ -2,9 +2,6 @@ 46@@ -3,12 +3,10 @@
52 47 test -d /sys/bus/platform/devices/eeepc || exit 0
53 # Volume controls 48 # Volume controls
54 49
55-# do nothing if package is removed 50-# do nothing if package is removed
56-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 51 PKG=eeepc-acpi-scripts
57- 52 PKG_DIR=/usr/share/acpi-support/$PKG
58 . /etc/default/eeepc-acpi-scripts 53 FUNC_LIB=$PKG_DIR/lib/functions.sh
59 . /usr/share/eeepc-acpi-scripts/functions.sh 54 DEFAULT=/etc/default/$PKG
60 . /etc/acpi/lib/notify.sh 55-[ -e "$FUNC_LIB" ] || exit 0
56
57 . $FUNC_LIB
58 . $PKG_DIR/lib/sound.sh