summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index f3906a077ec..b1cd8d52696 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.31 1997/02/28 07:53:33 millert Exp $
+# $OpenBSD: rc,v 1.32 1997/04/15 09:26:47 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -202,6 +202,11 @@ if [ -f /etc/ptmp ]; then
'password file may be incorrect -- /etc/ptmp exists'
fi
+. /etc/rc.securelevel
+if [ X${securelevel} != X"" ]; then
+ sysctl -w kern.securelevel=${securelevel}
+fi
+
virecovery=/var/tmp/vi.recover/recover.*
if [ "$virecovery" != "/var/tmp/vi.recover/recover.*" ]; then
echo preserving editor files