From 164f6cec7b55524bf65283567b7f701f4df3bd3c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 19 May 2010 14:02:28 -0400 Subject: Fix debugging leftovers. --- init/splash-manager.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init') 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" -- cgit v1.2.1