Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d488c7e52bad38aba403dbc63af438194a6c006d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d488c7e52bad38aba403dbc63af438194a6c006d)
  • Date: Fri, 28 Aug 2009 11:22:52 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

utils/acpid/DETAILS | 1 +
utils/acpid/HISTORY | 6 ++++++
utils/acpid/INSTALL | 5 +++++
utils/acpid/init.d/acpid | 3 +++
utils/acpid/init.d/acpid.conf | 3 +++
5 files changed, 18 insertions(+)

New commits:
commit d488c7e52bad38aba403dbc63af438194a6c006d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

acpid: use configurable arguments

diff --git a/utils/acpid/DETAILS b/utils/acpid/DETAILS
index 0362aeb..48424d5 100755
--- a/utils/acpid/DETAILS
+++ b/utils/acpid/DETAILS
@@ -1,5 +1,6 @@
SPELL=acpid
VERSION=1.0.10
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/acpid/$SOURCE
diff --git a/utils/acpid/HISTORY b/utils/acpid/HISTORY
index 0f92195..cf5d59d 100644
--- a/utils/acpid/HISTORY
+++ b/utils/acpid/HISTORY
@@ -1,3 +1,9 @@
+2009-08-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * INSTALL: install config file
+ * init.d/acpid.conf: added, to configure arguments
+ * init.d/acpid: use $ACPID_ARGS
+
2009-05-02 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* init.d/acpid: made it non-sh, bug #13702

diff --git a/utils/acpid/INSTALL b/utils/acpid/INSTALL
index 2031aa4..ad978d8 100755
--- a/utils/acpid/INSTALL
+++ b/utils/acpid/INSTALL
@@ -1,5 +1,10 @@
default_install &&

+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/acpid.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/acpid"
+fi &&
+
if [[ ! -d "$INSTALL_ROOT/etc/acpi" ]]; then
install -vm 755 -d "$INSTALL_ROOT"/etc/acpi/{events,actions} &&

diff --git a/utils/acpid/init.d/acpid b/utils/acpid/init.d/acpid
index 9de1bdc..6b03ea7 100644
--- a/utils/acpid/init.d/acpid
+++ b/utils/acpid/init.d/acpid
@@ -1,6 +1,9 @@
#!/bin/bash

+. /etc/sysconfig/acpid
+
PROGRAM=/usr/sbin/acpid
+ARGS="$ACPID_ARGS"
RUNLEVEL=S
NEEDS="+local_fs"

diff --git a/utils/acpid/init.d/acpid.conf b/utils/acpid/init.d/acpid.conf
new file mode 100644
index 0000000..b42508d
--- /dev/null
+++ b/utils/acpid/init.d/acpid.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see acpid(8)
+
+ACPID_ARGS="-l"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d488c7e52bad38aba403dbc63af438194a6c006d), Vlad Glagolev, 08/28/2009

Archive powered by MHonArc 2.6.24.

Top of Page