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 $?
+grml-autoconfig (0.7.26) unstable; urgency=low
+
+ * Replace check for /var/run/acpid.socket with grepping
+ for a running acpid process because the socket file isn't
+ present reliable.
+
+ -- Michael Prokop <mika@grml.org> Sat, 27 Oct 2007 19:04:05 +0200
+
grml-autoconfig (0.7.25) unstable; urgency=low
* Move syslog startup to the begin of grml-autoconfig so we make