b41acf7425
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
|