sysctl revision 56118
1#!/bin/sh
2#
3# Read in /etc/sysctl.conf and set things accordingly
4#
5# $FreeBSD: head/etc/rc.d/sysctl 56118 2000-01-16 18:12:42Z chris $
6if [ -f /etc/sysctl.conf ]; then
7	sed '
8		/^[  	]*#/d
9		/^[ 	]*$/d
10		s/#.*$//g
11	' /etc/sysctl.conf |
12	while read var
13	do
14		sysctl -w ${var}
15	done
16fi
17