1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/etc/rc.sysctl
1999-08-27 23:37:10 +00:00

14 lines
194 B
Bash

#!/bin/sh
#
# Read in /etc/sysctl.conf and set things accordingly
#
# $FreeBSD$
if [ -f /etc/sysctl.conf ]; then
3< /etc/sysctl.conf
while read 0<&3 var;
do
sysctl -w ${var}
done
3<&-
fi