freebsd-nq/etc/rc.d/sysctl

14 lines
235 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Read in /etc/sysctl.conf and set things accordingly
#
# $Id: rc.sysctl,v 1.1 1999/03/28 20:36:03 imp Exp $
if [ -f /etc/sysctl.conf ]; then
3< /etc/sysctl.conf
while read 0<&3 var;
do
sysctl -w ${var}
done
3<&-
fi