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/functions10
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index a682f5d8..7a66840c 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -453,8 +453,8 @@ echo_warning() {
# Inform the graphical boot of our current state
update_boot_stage() {
- if [ -x /usr/bin/rhgb-client ]; then
- /usr/bin/rhgb-client --update="$1"
+ if [ -x /usr/bin/plymouth ]; then
+ /usr/bin/plymouth --update="$1"
fi
return 0
}
@@ -469,7 +469,7 @@ success() {
failure() {
local rc=$?
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_failure
- [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
+ [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --details
return $rc
}
@@ -508,7 +508,7 @@ strstr() {
# Confirm whether we really want to run this service
confirm() {
- [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
+ [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --hide-splash
while : ; do
echo -n $"Start service $1 (Y)es/(N)o/(C)ontinue? [Y] "
read answer
@@ -516,7 +516,7 @@ confirm() {
return 0
elif strstr $"cC" "$answer" ; then
rm -f /var/run/confirm
- [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=no
+ [ -x /usr/bin/plymouth ] && /usr/bin/plymouth --show-splash
return 2
elif strstr $"nN" "$answer" ; then
return 1