comparison profiles/SMALL_/files/etc/rc.d/MAIN @ 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 5b491c71f689
children
comparison
equal deleted inserted replaced
518:18651f8c0b45 519:3ca79989db91
9 name="MAIN" 9 name="MAIN"
10 start_cmd="main_start" 10 start_cmd="main_start"
11 11
12 main_start() 12 main_start()
13 { 13 {
14 # Copy hints to dynamic kenv
15 sysctl kern.hintmode=2
14 # Disable saving core files 16 # Disable saving core files
15 sysctl kern.coredump=0 17 sysctl kern.coredump=0
16 # Allow routing/forwarding 18 # Allow routing/forwarding
17 sysctl net.inet.ip.forwarding=1 19 sysctl net.inet.ip.forwarding=1
18 # XXX: for debug, breakpoint on Break sequence 20 # XXX: for debug, breakpoint on Break sequence