From 8eeaea6cb32259433aa17c381714eb23c670c0e4 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 28 Oct 2003 22:26:39 +0000 Subject: turn on details on failed services --- rc.d/init.d/functions | 1 + rc.d/rc.sysinit | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'rc.d') 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 -- cgit v1.2.1