]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- more fixes for displaing messages on initializing raid devices.
authorkloczek <kloczek@pld-linux.org>
Wed, 27 Oct 1999 05:46:27 +0000 (05:46 +0000)
committerkloczek <kloczek@pld-linux.org>
Wed, 27 Oct 1999 05:46:27 +0000 (05:46 +0000)
svn-id: @588

rc.d/rc.sysinit

index 5769650cd06b38de41d0cbf9e5c8abfaff08aae0..7d9e45f0932fd0f93707771f04371ec76b44b33d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.35 1999/10/27 03:11:32 kloczek Exp $
+# $Id: rc.sysinit,v 1.36 1999/10/27 05:46:27 kloczek Exp $
 #
 # Taken in part from Miquel van Smoorenburg's bcheckrc.
 # Changes:      Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
@@ -225,8 +225,7 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
 
        # A non-zero return means there were problems.
        if [ $rc -gt 0 ]; then
-               deltext
-               fail
+               show "Starting up RAID devices."; fail
                nls "\n\n*** An error occurred during the RAID startup\n*** Dropping you to a shell; the system will reboot\n*** when you leave the shell.\n"
 
                PS1="`nls "(RAID Repair) #"`"; export PS1
@@ -240,8 +239,7 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
                run_cmd "Remounting root filesystem in ro mode" mount -n -o remount,ro /
                run_cmd "Automatic reboot in progress" reboot
        fi
-       deltext
-       ok
+       show "Starting up RAID devices."; ok
 fi
 
 # Check filesystems
This page took 0.050314 seconds and 4 git commands to generate.