1999-03-28 20:36:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Read in /etc/sysctl.conf and set things accordingly
|
|
|
|
#
|
1999-08-25 16:01:45 +00:00
|
|
|
# $Id: rc.sysctl,v 1.1 1999/03/28 20:36:03 imp Exp $
|
1999-03-28 20:36:03 +00:00
|
|
|
if [ -f /etc/sysctl.conf ]; then
|
|
|
|
3< /etc/sysctl.conf
|
|
|
|
while read 0<&3 var;
|
|
|
|
do
|
1999-08-25 16:01:45 +00:00
|
|
|
sysctl -w ${var}
|
1999-03-28 20:36:03 +00:00
|
|
|
done
|
|
|
|
3<&-
|
|
|
|
fi
|