summaryrefslogtreecommitdiffstats
path: root/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-09-25 14:58:13 +0000
committerSamuel Ortiz <sameo@openedhand.com>2008-09-25 14:58:13 +0000
commit4a91a284b528c06d6132a8bba2d1e5efc6936926 (patch)
treea425e558d3e34093b8bfab2055e572c7284a8748 /meta/packages/eee-acpi-scripts/files/remove-doc-check.patch
parentd3636b1f0cdc3489066c9c9dc5cdbf832429bb83 (diff)
downloadpoky-4a91a284b528c06d6132a8bba2d1e5efc6936926.tar.gz
eee-acpi-scripts: Initial commit
eeePC specific ACPI hooks. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5272 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/eee-acpi-scripts/files/remove-doc-check.patch')
-rw-r--r--meta/packages/eee-acpi-scripts/files/remove-doc-check.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch b/meta/packages/eee-acpi-scripts/files/remove-doc-check.patch
new file mode 100644
index 0000000000..8f6c4fcaad
--- /dev/null
+++ b/meta/packages/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