diff options
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |