]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/sysctl
Cleanup diskless support in current, mostly aligning it to the one
[FreeBSD/FreeBSD.git] / etc / rc.d / sysctl
1 #!/bin/sh
2 #
3 # Read in /etc/sysctl.conf and set things accordingly
4 #
5 # $FreeBSD$
6 if [ -f /etc/sysctl.conf ]; then
7         3< /etc/sysctl.conf
8         while read 0<&3 var;
9         do
10                 sysctl -w ${var}
11         done
12         3<&-
13 fi