summaryrefslogtreecommitdiffstats
path: root/etc/rc.sysctl
blob: bc98de967fd94685a39ff7581cc45b9c049a63d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Read in /etc/sysctl.conf and set things accordingly
#
# $Id: rc.sysctl,v 1.1 1999/03/28 20:36:03 imp Exp $
if [ -f /etc/sysctl.conf ]; then
	3< /etc/sysctl.conf
	while read 0<&3 var;
	do
		sysctl -w ${var}
	done
	3<&-
fi
OpenPOWER on IntegriCloud