Einfach Patch anwenden, und in die rc.conf folgendes eintragen:
Wer das für eine gute Idee hält, kann beim PR seinen Senf dazu abgeben.
Code:
shutdown_clean_enable="YES"
Code:
--- rc.shutdown 2008-02-20 19:28:45.000000000 +0100
+++ /etc/rc.shutdown 2008-02-20 19:59:03.000000000 +0100
@@ -43,10 +43,21 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export HOME PATH
+# The next three lines belong into /etc/defaults/rc.conf.
+shutdown_clean_enable="NO" # Set to YES to stop all but the first CPU
+ # core to prevent mixed buffer output
+ # upon shutdown.
+
. /etc/rc.subr
load_rc_config 'XXX'
+# Fall back to single core mode to guarantee clean output.
+if checkyesno shutdown_clean_enable; then
+ bitmask="$(jot -s '' -b1 $(expr $(sysctl -n hw.ncpu) - 1))0"
+ sysctl machdep.hlt_cpus=$bitmask
+fi
+
# reverse_list list
# print the list in reverse order
#
Wer das für eine gute Idee hält, kann beim PR seinen Senf dazu abgeben.

