diff -Nur acpid/acpid acpid_new/acpid --- acpid/acpid 2010-01-27 07:44:38.993260785 +0100 +++ acpid_new/acpid 2010-01-27 07:47:33.893119186 +0100 @@ -3,11 +3,13 @@ . /etc/rc.conf . /etc/rc.d/functions +[ -f /etc/conf.d/acpid ] && /etc/conf.d/acpid + PID=`pidof -o %PPID /usr/sbin/acpid` case "$1" in start) stat_busy "Starting acpid" - [ -z "$PID" ] && /usr/sbin/acpid + [ -z "$PID" ] && /usr/sbin/acpid $ACPID_ARGS if [ $? -gt 0 ]; then stat_fail else diff -Nur acpid/acpid.conf.d acpid_new/acpid.conf.d --- acpid/acpid.conf.d 1970-01-01 01:00:00.000000000 +0100 +++ acpid_new/acpid.conf.d 2010-01-27 07:46:42.409800225 +0100 @@ -0,0 +1,6 @@ +# +# Arguments to be passed to the acpid daemon +# + +ACPID_ARGS="" + diff -Nur acpid/PKGBUILD acpid_new/PKGBUILD --- acpid/PKGBUILD 2010-01-27 07:44:38.993260785 +0100 +++ acpid_new/PKGBUILD 2010-01-27 07:49:49.899793400 +0100 @@ -13,11 +13,13 @@ depends=(glibc) source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz acpid + acpid.conf.d anything handler.sh) backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything') md5sums=('61156ef32015c56dc0f2e3317f4ae09e' - '15903690f1bae4b3b0625b369de65521' + 'f9af358de5c6191648f6c9ee3cba6cbc' + '91fdb3709c878eed757d192a420251a1' '2d37b98d6e74bab815604b8b48c6cfd4' '0e8dd13793b1baa79a745f4034888367') @@ -30,6 +32,7 @@ # install our supplementary scripts /bin/install -D -m0755 $srcdir/acpid $pkgdir/etc/rc.d/acpid || return 1 + /bin/install -D -m0644 $srcdir/acpid.conf.d $pkgdir/etc/conf.d/acpid || return 1 /bin/install -D -m0644 $srcdir/anything $pkgdir/etc/acpi/events/anything || return 1 /bin/install -D -m0755 $srcdir/handler.sh $pkgdir/etc/acpi/handler.sh || return 1