summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2014-07-14 09:44:45 +0000
committerajacoutot <ajacoutot@openbsd.org>2014-07-14 09:44:45 +0000
commit7a8988dbf1454d2b58a502a2a34619dadf166c31 (patch)
tree89af033932f02be27b27067aeb1d1bcd27455cbc
parentOnly set kern.securelevel=1 if it was not lowered nor bumped by (diff)
downloadwireguard-openbsd-7a8988dbf1454d2b58a502a2a34619dadf166c31.tar.xz
wireguard-openbsd-7a8988dbf1454d2b58a502a2a34619dadf166c31.zip
This isn't C.
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 2bf6c3b5e7a..f1facb235eb 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.432 2014/07/14 09:44:07 ajacoutot Exp $
+# $OpenBSD: rc,v 1.433 2014/07/14 09:44:45 ajacoutot Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -461,7 +461,7 @@ setup_X_sockets
# rc.securelevel did not specifically set -1 or 2, so select the default: 1
if [ `sysctl -n kern.securelevel` -eq 0 ]; then
sysctl kern.securelevel=1
-endif
+fi
# patch /etc/motd
if [ ! -f /etc/motd ]; then