diff options
author | Bill Nottingham <notting@redhat.com> | 2003-10-28 22:26:39 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-10-28 22:26:39 +0000 |
commit | 8eeaea6cb32259433aa17c381714eb23c670c0e4 (patch) | |
tree | dd1c397445d77affec080f5a34f5b2aedd659f82 | |
parent | 6cea25a1e5ee33f18287d106ee18d75ccb0f4bf1 (diff) | |
download | initscripts-8eeaea6cb32259433aa17c381714eb23c670c0e4.tar initscripts-8eeaea6cb32259433aa17c381714eb23c670c0e4.tar.gz initscripts-8eeaea6cb32259433aa17c381714eb23c670c0e4.tar.bz2 initscripts-8eeaea6cb32259433aa17c381714eb23c670c0e4.tar.xz initscripts-8eeaea6cb32259433aa17c381714eb23c670c0e4.zip |
turn on details on failed services
-rwxr-xr-x | rc.d/init.d/functions | 1 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 12 |
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 |