summaryrefslogtreecommitdiffstats
path: root/etc/rc.sysctl
blob: 7a852a3c2e805a7b4382e227a2c9fa519f2e65ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# Read in /etc/sysctl.conf and set things accordingly
#
# $FreeBSD$

if [ -f /etc/sysctl.conf ]; then
	while read var comments
	do
		case ${var} in
		\#*|'')
			;;
		*)
			sysctl -w ${var}
			;;
		esac
	done < /etc/sysctl.conf
fi
OpenPOWER on IntegriCloud