sysctl revision 50472
1101099Srwatson#!/bin/sh 2145412Strhodes# 3126097Srwatson# Read in /etc/sysctl.conf and set things accordingly 4145412Strhodes# 5101099Srwatson# $FreeBSD: head/etc/rc.d/sysctl 50472 1999-08-27 23:37:10Z peter $ 6101099Srwatsonif [ -f /etc/sysctl.conf ]; then 7101099Srwatson 3< /etc/sysctl.conf 8145412Strhodes while read 0<&3 var; 9101099Srwatson do 10106393Srwatson sysctl -w ${var} 11106393Srwatson done 12106393Srwatson 3<&- 13106393Srwatsonfi 14101099Srwatson