From e6a4cb14e744f6f0170d1339974d7d581ee4351f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Dec 2002 17:21:49 +0000 Subject: graphical boot changes --- rc.d/init.d/functions | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 15a7fad1..c762275c 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -3,11 +3,6 @@ # functions This file contains functions to be used by most or all # shell scripts in the /etc/init.d directory. # -# Author: Miquel van Smoorenburg, -# Hacked by: Greg Galloway and Marc Ewing -# -# i18n originally by: Arnaldo Carvalho de Melo , -# Wanderlei Antonio Cavassin TEXTDOMAIN=initscripts TEXTDOMAINDIR=/etc/locale @@ -319,6 +314,9 @@ echo_success() { [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL echo -n " ]" echo -ne "\r" + if [ "$BOOTUP" = "graphical" -a -x /usr/bin/rhgb-client ]; then + /usr/bin/rhgb-client -ping + fi return 0 } @@ -330,6 +328,9 @@ echo_failure() { [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL echo -n "]" echo -ne "\r" + if [ "$BOOTUP" = "graphical" -a -x /usr/bin/rhgb-client ]; then + /usr/bin/rhgb-client -ping + fi return 1 } @@ -341,6 +342,9 @@ echo_passed() { [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL echo -n "]" echo -ne "\r" + if [ "$BOOTUP" = "graphical" -a -x /usr/bin/rhgb-client ]; then + /usr/bin/rhgb-client -ping + fi return 1 } @@ -352,6 +356,9 @@ echo_warning() { [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL echo -n "]" echo -ne "\r" + if [ "$BOOTUP" = "graphical" -a -x /usr/bin/rhgb-client ]; then + /usr/bin/rhgb-client -ping + fi return 1 } -- cgit v1.2.1