aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-04-30 20:32:47 +0000
committerBill Nottingham <notting@redhat.com>2003-04-30 20:32:47 +0000
commit4225570cbd69a740e58045e3ad05d3d496184afe (patch)
treea880100fc5f83344b575832acb4a461128be1f56 /rc.d/init.d/functions
parent5d6ea8b3450b9b85e222815e131e2772f62650d1 (diff)
downloadinitscripts-4225570cbd69a740e58045e3ad05d3d496184afe.tar
initscripts-4225570cbd69a740e58045e3ad05d3d496184afe.tar.gz
initscripts-4225570cbd69a740e58045e3ad05d3d496184afe.tar.bz2
initscripts-4225570cbd69a740e58045e3ad05d3d496184afe.tar.xz
initscripts-4225570cbd69a740e58045e3ad05d3d496184afe.zip
rhgb updates
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions18
1 files changed, 7 insertions, 11 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index ebfb2483..e1feaf7e 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -318,9 +318,6 @@ 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
}
@@ -332,9 +329,6 @@ 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
}
@@ -346,9 +340,6 @@ 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
}
@@ -360,10 +351,15 @@ echo_warning() {
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
echo -n "]"
echo -ne "\r"
+ return 1
+}
+
+# Inform the graphical boot of our current state
+update_boot_stage() {
if [ "$BOOTUP" = "graphical" -a -x /usr/bin/rhgb-client ]; then
- /usr/bin/rhgb-client -ping
+ /usr/bin/rhgb-client --update="$1"
fi
- return 1
+ return 0
}
# Log that something succeeded