mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
9d182321ce
Since it doesn't depend on anything in /usr, it should work with a NFS-mounted /usr partition. Thanks to Bruce Evans to bringing this to my attention.
19 lines
242 B
Bash
19 lines
242 B
Bash
#!/bin/sh
|
|
#
|
|
# Read in /etc/sysctl.conf and set things accordingly
|
|
#
|
|
# $FreeBSD$
|
|
|
|
if [ -f /etc/sysctl.conf ]; then
|
|
while read var comments
|
|
do
|
|
case ${var} in
|
|
\#*|'')
|
|
;;
|
|
*)
|
|
sysctl -w ${var}
|
|
;;
|
|
esac
|
|
done < /etc/sysctl.conf
|
|
fi
|