Page MenuHomeFreeBSD

D36879.id.diff
No OneTemporary

D36879.id.diff

diff --git a/usr.sbin/bsdinstall/startbsdinstall b/usr.sbin/bsdinstall/startbsdinstall
--- a/usr.sbin/bsdinstall/startbsdinstall
+++ b/usr.sbin/bsdinstall/startbsdinstall
@@ -78,6 +78,17 @@
;;
$BSDDIALOG_EXTRA) # Shutdown
shutdown -p now
+ # shutdown(8) daemonizes, with the actual signal to
+ # init(8) happening in the child, but if we exit the
+ # script then runconsoles will clean up its children
+ # thinking we're trying to go multiuser (and if the
+ # user has disabled multiple console support we'll
+ # still start trying to go multi-user, which gives
+ # confusing output on the console if the daemon is slow
+ # to run). Thus we spin while the daemon runs.
+ while true; do
+ sleep 1
+ done
;;
$BSDDIALOG_CANCEL) # Live CD
exit 0

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 10, 4:54 AM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31173962
Default Alt Text
D36879.id.diff (788 B)

Event Timeline