summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:42:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:42:39 +0000
commit6486637a6bf5ed573fb5c731b38f60ce655d9b81 (patch)
treea599fd75070aacc352535fbe7cdf636cdb66ab61 /etc/rc
parent6f96585c9df4243ccf9c1dc2d8e1617dcbf5fb4b (diff)
remove -w option to sysctl;
diffs from Paul de Weerd; ok deraadt@
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 5013d898c68..0b024234a48 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.233 2004/02/11 23:17:32 beck Exp $
+# $OpenBSD: rc,v 1.234 2004/02/25 08:42:38 jmc Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -140,7 +140,7 @@ if [ -f /etc/sysctl.conf ]; then
# delete comments and blank lines
set -- `stripcom /etc/sysctl.conf`
while [ $# -ge 1 ] ; do
- sysctl -w $1
+ sysctl $1
shift
done
)
@@ -368,7 +368,7 @@ fi
[ -f /etc/rc.securelevel ] && . /etc/rc.securelevel
if [ X${securelevel} != X"" ]; then
echo -n 'setting kernel security level: '
- sysctl -w kern.securelevel=${securelevel}
+ sysctl kern.securelevel=${securelevel}
fi
# patch /etc/motd