mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
14 lines
188 B
Plaintext
14 lines
188 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# Read in /etc/sysctl.conf and set things accordingly
|
||
|
#
|
||
|
# $Id:$
|
||
|
if [ -f /etc/sysctl.conf ]; then
|
||
|
3< /etc/sysctl.conf
|
||
|
while read 0<&3 var;
|
||
|
do
|
||
|
sysctl -w $var
|
||
|
done
|
||
|
3<&-
|
||
|
fi
|