[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Progress boot when booting



* Joey Hess <joeyh@debian.org> [2004-05-08 14:20]:
> Doesn't that result in a blue screen while it's rebooting?

There is a blue screen, but I immediately get "The system is going
down NOW !!" below plus some other output showing that it's booting.

> Is there any way to conditionalise it? You don't have a framebuffer,
> right?

Good idea.  OK to commit the following?


===================================================================
--- prebaseconfig.d/99reboot    (revision 14989)
+++ prebaseconfig.d/99reboot    (working copy)
@@ -1,6 +1,13 @@
 #! /bin/sh
 set -e

+. /usr/share/debconf/confmodule
+
 sync; sync; sync

+db_get debian-installer/serial-console
+if [ "$RET" = "true" ] ; then
+    db_progress STOP
+fi
+
 /sbin/reboot

-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: