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.patch60
1 files changed, 60 insertions, 0 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
new file mode 100644
index 0000000000..8f6c4fcaad
--- /dev/null
+++ b/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
@@ -0,0 +1,60 @@
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
8Index: git/actions/hotkey.sh
9===================================================================
10--- git.orig/actions/hotkey.sh 2008-09-25 11:00:58.000000000 +0200
11+++ git/actions/hotkey.sh 2008-09-25 11:01:04.000000000 +0200
12@@ -1,8 +1,5 @@
13 #!/bin/sh
14
15-# do nothing if package is removed
16-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
17-
18 . /etc/default/eeepc-acpi-scripts
19 . /usr/share/eeepc-acpi-scripts/functions.sh
20 . /etc/acpi/lib/notify.sh
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
28-# do nothing if package is removed
29-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
30-
31 if (runlevel | grep -q [06]) || (pidof '/sbin/shutdown' > /dev/null); then
32 exit 0
33 fi
34Index: git/actions/vga-toggle.sh
35===================================================================
36--- git.orig/actions/vga-toggle.sh 2008-09-25 11:02:00.000000000 +0200
37+++ git/actions/vga-toggle.sh 2008-09-25 11:02:06.000000000 +0200
38@@ -1,8 +1,5 @@
39 #!/bin/sh
40
41-# do nothing if package is removed
42-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
43-
44 . /etc/default/eeepc-acpi-scripts
45
46 # return: 0 on disconnect, 1 on connected vga, 2 else
47Index: git/actions/volume.sh
48===================================================================
49--- git.orig/actions/volume.sh 2008-09-25 11:02:13.000000000 +0200
50+++ git/actions/volume.sh 2008-09-25 11:02:19.000000000 +0200
51@@ -2,9 +2,6 @@
52
53 # Volume controls
54
55-# do nothing if package is removed
56-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
57-
58 . /etc/default/eeepc-acpi-scripts
59 . /usr/share/eeepc-acpi-scripts/functions.sh
60 . /etc/acpi/lib/notify.sh