changeset 519:3ca79989db91

Set sysctl kern.hintmode to 2, to enable R/W access to kernel hints via kenv(1).
author Aleksandr Rybalko <ray@ddteam.net>
date Sat, 07 Nov 2015 01:15:52 +0200
parents 18651f8c0b45
children 3c595aebe061
files profiles/SMALL_/files/etc/rc.d/MAIN
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/profiles/SMALL_/files/etc/rc.d/MAIN	Sat Nov 07 00:59:01 2015 +0200
+++ b/profiles/SMALL_/files/etc/rc.d/MAIN	Sat Nov 07 01:15:52 2015 +0200
@@ -11,6 +11,8 @@
 
 main_start()
 {
+	# Copy hints to dynamic kenv
+	sysctl kern.hintmode=2
 	# Disable saving core files
 	sysctl kern.coredump=0
 	# Allow routing/forwarding