aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions1
-rwxr-xr-xrc.d/rc.sysinit12
2 files changed, 7 insertions, 6 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 36e7f803..0d3d755c 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -388,6 +388,7 @@ failure() {
trap - SIGPIPE
fi
[ "$BOOTUP" != "verbose" -a -z "$LSB" ] && echo_failure
+ [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
return $rc
}
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 17548c74..bc2f42c0 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -79,20 +79,20 @@ fi
RHGB_STARTED=0
mount -n -t devpts /dev/pts /dev/pts
-if fgrep rhgb /proc/cmdline > /dev/null 2>&1 && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
- /usr/bin/rhgb
- RHGB_STARTED=1
-fi
-
# Unmount the initrd, if necessary
if LC_ALL=C grep -q /initrd /proc/mounts && ! LC_ALL=C grep -q /initrd/loopfs /proc/mounts ; then
if [ -e /initrd/dev/.devfsd ]; then
umount /initrd/dev
fi
- action $"Unmounting initrd: " umount /initrd
+ umount /initrd
/sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1
fi
+if fgrep rhgb /proc/cmdline > /dev/null 2>&1 && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
+ /usr/bin/rhgb
+ RHGB_STARTED=1
+fi
+
# Configure kernel parameters
update_boot_stage RCkernelparam
action $"Configuring kernel parameters: " sysctl -e -p /etc/sysctl.conf