[Zrouter-src] ZRouter.org: push to ZRouter profiles/SMALL_/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/3ca79989db91
changeset: 519:3ca79989db91
user:      Aleksandr Rybalko <ray at ddteam.net>
date:      Sat Nov 07 01:15:52 2015 +0200
description:
Set sysctl kern.hintmode to 2, to enable R/W access to kernel hints via kenv(1).

diffstat:

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

diffs (12 lines):

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


More information about the Zrouter-src mailing list