1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/etc/rc.sysctl

17 lines
229 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Read in /etc/sysctl.conf and set things accordingly
#
1999-08-27 23:37:10 +00:00
# $FreeBSD$
if [ -f /etc/sysctl.conf ]; then
sed '
/^[ ]*#/d
/^[ ]*$/d
s/#.*$//g
' /etc/sysctl.conf |
while read var
do
sysctl -w ${var}
done
fi