From 4a91a284b528c06d6132a8bba2d1e5efc6936926 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 25 Sep 2008 14:58:13 +0000 Subject: 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 --- .../eee-acpi-scripts/files/remove-doc-check.patch | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta/packages/eee-acpi-scripts/files/remove-doc-check.patch (limited to 'meta/packages/eee-acpi-scripts/files/remove-doc-check.patch') 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 @@ +--- + actions/hotkey.sh | 3 --- + actions/suspend.sh | 3 --- + actions/vga-toggle.sh | 3 --- + actions/volume.sh | 3 --- + 4 files changed, 12 deletions(-) + +Index: git/actions/hotkey.sh +=================================================================== +--- git.orig/actions/hotkey.sh 2008-09-25 11:00:58.000000000 +0200 ++++ git/actions/hotkey.sh 2008-09-25 11:01:04.000000000 +0200 +@@ -1,8 +1,5 @@ + #!/bin/sh + +-# do nothing if package is removed +-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 +- + . /etc/default/eeepc-acpi-scripts + . /usr/share/eeepc-acpi-scripts/functions.sh + . /etc/acpi/lib/notify.sh +Index: git/actions/suspend.sh +=================================================================== +--- git.orig/actions/suspend.sh 2008-09-25 11:00:32.000000000 +0200 ++++ git/actions/suspend.sh 2008-09-25 11:00:37.000000000 +0200 +@@ -1,8 +1,5 @@ + #!/bin/sh + +-# do nothing if package is removed +-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 +- + if (runlevel | grep -q [06]) || (pidof '/sbin/shutdown' > /dev/null); then + exit 0 + fi +Index: git/actions/vga-toggle.sh +=================================================================== +--- git.orig/actions/vga-toggle.sh 2008-09-25 11:02:00.000000000 +0200 ++++ git/actions/vga-toggle.sh 2008-09-25 11:02:06.000000000 +0200 +@@ -1,8 +1,5 @@ + #!/bin/sh + +-# do nothing if package is removed +-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 +- + . /etc/default/eeepc-acpi-scripts + + # return: 0 on disconnect, 1 on connected vga, 2 else +Index: git/actions/volume.sh +=================================================================== +--- git.orig/actions/volume.sh 2008-09-25 11:02:13.000000000 +0200 ++++ git/actions/volume.sh 2008-09-25 11:02:19.000000000 +0200 +@@ -2,9 +2,6 @@ + + # Volume controls + +-# do nothing if package is removed +-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0 +- + . /etc/default/eeepc-acpi-scripts + . /usr/share/eeepc-acpi-scripts/functions.sh + . /etc/acpi/lib/notify.sh -- cgit v1.2.3-54-g00ecf