projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed08f4
)
config_acpi_apm(): redirect stderr of ps to debug log.
author
Michael Prokop
<mika@grml.org>
Fri, 22 Jul 2011 20:29:13 +0000
(22:29 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 22 Jul 2011 20:29:15 +0000
(22:29 +0200)
See issue1011 -> "ps of procps complains about "Non-standard uts
for running kernel" when running kernel 3.0-grml64".
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
5e7c807
..
3d5410e
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-720,7
+720,7
@@
if [ -d /proc/acpi ]; then
else
ewarn "(none)" ; eend 1
fi
- if ! ps x | grep -q /usr/sbin/acpid ; then
+ if ! ps x
2>>$DEBUG
| grep -q /usr/sbin/acpid ; then
if ! [ -r /var/run/dbus/pid ] ; then
einfo "Starting acpi daemon."
/etc/init.d/acpid start >>$DEBUG 2>&1 ; eend $?