aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-05-19 14:02:28 -0400
committerBill Nottingham <notting@redhat.com>2010-05-19 14:02:28 -0400
commit9fbdd1571170d17b2fa6ba73d3380d97fa152b24 (patch)
treefc97143365616d6db24602c659effe28f55169f2 /init
parent3a9cdc3ebb948be654577977c4be3820d7385285 (diff)
downloadinitscripts-9fbdd1571170d17b2fa6ba73d3380d97fa152b24.tar
initscripts-9fbdd1571170d17b2fa6ba73d3380d97fa152b24.tar.gz
initscripts-9fbdd1571170d17b2fa6ba73d3380d97fa152b24.tar.bz2
initscripts-9fbdd1571170d17b2fa6ba73d3380d97fa152b24.tar.xz
initscripts-9fbdd1571170d17b2fa6ba73d3380d97fa152b24.zip
Fix debugging leftovers.
Diffstat (limited to 'init')
-rw-r--r--init/splash-manager.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/init/splash-manager.conf b/init/splash-manager.conf
index 8e3299cf..eea28ca4 100644
--- a/init/splash-manager.conf
+++ b/init/splash-manager.conf
@@ -13,8 +13,7 @@ script
elif [ "$RUNLEVEL" = "6" ]; then
MESSAGE=$"Restarting..."
fi
- initctl status prefdm 2>/dev/null > /tmp/cowcow
- if cat /tmp/cowcow | grep -q stop/waiting; then
+ if initctl status prefdm 2>/dev/null | grep -q stop/waiting; then
initctl emit splash-request IMMEDIATE=1 MODE=shutdown MESSAGE="$MESSAGE"
else
initctl emit splash-request MODE=shutdown MESSAGE="$MESSAGE"