summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf1
-rw-r--r--etc/etc.alpha/rc.alpha8
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index abe2390..40e621a 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -296,6 +296,7 @@ kern_securelevel_enable="NO" # kernel security level (see init(8)),
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure
update_motd="YES" # update version info in /etc/motd (or NO)
start_vinum="" # set to YES to start vinum
+unaligned_print="YES" # print unaligned access warnings on the alpha (or NO).
entropy_file="/var/db/entropy"
# Set to NO to disable caching entropy through reboots
diff --git a/etc/etc.alpha/rc.alpha b/etc/etc.alpha/rc.alpha
index 882197a..9be56e3 100644
--- a/etc/etc.alpha/rc.alpha
+++ b/etc/etc.alpha/rc.alpha
@@ -165,3 +165,11 @@ if [ -n "${allscreens_flags}" ] ; then
fi
echo '.'
+
+# knob for wether or not we should print out unaligned access warnings
+#
+case ${unaligned_print} in
+[Nn][Oo])
+ sysctl -w machdep.unaligned_print=0
+ ;;
+esac
OpenPOWER on IntegriCloud