X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=f7d2af3ec17b2ad32c0be5451e064986fc109a14;hp=8c534acaa77c3407946f1b77806b2c692a69a45c;hb=7fe54f6858375c2fbee303493cf742150995dd24;hpb=51fe1eadb286e606342a2f79ee046b73a247324f diff --git a/autoconfig.functions b/autoconfig.functions index 8c534ac..f7d2af3 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -744,7 +744,7 @@ if [ -d /proc/acpi ]; then else ewarn "(none)" ; eend 1 fi - if ! [ -S /var/run/acpid.socket ] ; then + if ! ps x | grep -q /usr/sbin/acpid ; then if ! [ -r /var/run/dbus/pid ] ; then einfo "Starting acpi daemon." /etc/init.d/acpid start 1>>$DEBUG 2>&1 ; eend $?