Browse Source

remove -w option to sysctl;

diffs from Paul de Weerd;
ok deraadt@
OPENBSD_3_5
jmc 21 years ago
parent
commit
5b636f1a40
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/rc

+ 3
- 3
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -140,7 +140,7 @@ if [ -f /etc/sysctl.conf ]; then
# delete comments and blank lines # delete comments and blank lines
set -- `stripcom /etc/sysctl.conf` set -- `stripcom /etc/sysctl.conf`
while [ $# -ge 1 ] ; do while [ $# -ge 1 ] ; do
sysctl -w $1
sysctl $1
shift shift
done done
) )
@ -368,7 +368,7 @@ fi
[ -f /etc/rc.securelevel ] && . /etc/rc.securelevel [ -f /etc/rc.securelevel ] && . /etc/rc.securelevel
if [ X${securelevel} != X"" ]; then if [ X${securelevel} != X"" ]; then
echo -n 'setting kernel security level: ' echo -n 'setting kernel security level: '
sysctl -w kern.securelevel=${securelevel}
sysctl kern.securelevel=${securelevel}
fi fi
# patch /etc/motd # patch /etc/motd


Loading…
Cancel
Save