aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions12
1 files changed, 0 insertions, 12 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 09f47f37..058599f0 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -511,22 +511,10 @@ action() {
STRING=$1
echo -n "$STRING "
- if [ "${RHGB_STARTED:-}" != "" -a -w /etc/rhgb/temp/rhgb-console ]; then
- echo -n "$STRING " > /etc/rhgb/temp/rhgb-console
- fi
shift
"$@" && success $"$STRING" || failure $"$STRING"
rc=$?
echo
- if [ "${RHGB_STARTED:-}" != "" -a -w /etc/rhgb/temp/rhgb-console ]; then
- if [ "$rc" = "0" ]; then
- echo_success > /etc/rhgb/temp/rhgb-console
- else
- echo_failure > /etc/rhgb/temp/rhgb-console
- [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
- fi
- echo > /etc/rhgb/temp/rhgb-console
- fi
return $rc
}