Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151559267
D36879.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
788 B
Referenced Files
None
Subscribers
None
D36879.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D36879: bsdinstall: Fix race condition when shutting down after installation
Attached
Detach File
Event Timeline
Log In to Comment