changeset 520:3c595aebe061

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:18:37 +0200
parents 3ca79989db91
children b7b11903158a
files profiles/xSMALL_/files/etc/rc.d/MAIN
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/profiles/xSMALL_/files/etc/rc.d/MAIN	Sat Nov 07 01:15:52 2015 +0200
+++ b/profiles/xSMALL_/files/etc/rc.d/MAIN	Sat Nov 07 01:18:37 2015 +0200
@@ -15,6 +15,8 @@
 main_prestart()
 {
 	stty status '^T'
+	# Copy hints to dynamic kenv
+	sysctl kern.hintmode=2
 	sysctl kern.coredump=0
 	sysctl net.inet.ip.forwarding=1