[Zrouter-src] ZRouter.org: push to ZRouter profiles/xSMALL_/files/etc/rc.d/MAIN

zrouter-src at zrouter.org zrouter-src at zrouter.org
Fri Nov 6 23:16:29 UTC 2015


details:   http://zrouter.org/hg/zrouter//rev/3c595aebe061
changeset: 520:3c595aebe061
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Sat Nov 07 01:18:37 2015 +0200
description:
Set sysctl kern.hintmode to 2, to enable R/W access to kernel hints via kenv(1).

diffstat:

 profiles/xSMALL_/files/etc/rc.d/MAIN |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 3ca79989db91 -r 3c595aebe061 profiles/xSMALL_/files/etc/rc.d/MAIN
--- 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
 


More information about the Zrouter-src mailing list