aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.sysctl
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-03-28 20:36:03 +0000
committerWarner Losh <imp@FreeBSD.org>1999-03-28 20:36:03 +0000
commita780977066c3fbf595deb401a1b626ec9d7ae1c5 (patch)
tree9e5e4f2ce6b3d9f5e3345dd10947fe934deb4a0c /etc/rc.sysctl
parent55bfaed1c0175f8d18c843b31171ac69354a20ae (diff)
downloadsrc-a780977066c3fbf595deb401a1b626ec9d7ae1c5.tar.gz
src-a780977066c3fbf595deb401a1b626ec9d7ae1c5.zip
Notes
Diffstat (limited to 'etc/rc.sysctl')
-rw-r--r--etc/rc.sysctl13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/rc.sysctl b/etc/rc.sysctl
new file mode 100644
index 000000000000..8b1f4473b4b1
--- /dev/null
+++ b/etc/rc.sysctl
@@ -0,0 +1,13 @@
+#!/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