summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-15 08:28:43 +0000
committerderaadt <deraadt@openbsd.org>2014-07-15 08:28:43 +0000
commit13b617d2434e193eae6fddf9e3d9fb0cf8b809e5 (patch)
treee0db3f3dec3aa31ffb129fd48291f371e2b0a71d
parentMake sure to correctly exit the loop in priv_flush_routes() in case of (diff)
downloadwireguard-openbsd-13b617d2434e193eae6fddf9e3d9fb0cf8b809e5.tar.xz
wireguard-openbsd-13b617d2434e193eae6fddf9e3d9fb0cf8b809e5.zip
sysctl.conf moves to etc/examples
-rw-r--r--etc/Makefile11
-rw-r--r--etc/changelist4
-rw-r--r--etc/examples/sysctl.conf (renamed from etc/sysctl.conf)2
3 files changed, 9 insertions, 8 deletions
diff --git a/etc/Makefile b/etc/Makefile
index e21725b58ed..38ca480ef24 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.372 2014/07/14 09:11:27 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.373 2014/07/15 08:28:43 deraadt Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -101,10 +101,11 @@ distribution-etc-root-var: distrib-dirs
chown ${BINOWN} ${DESTDIR}/etc/ttys && \
chgrp ${BINGRP} ${DESTDIR}/etc/ttys && \
chmod 644 ${DESTDIR}/etc/ttys
- cat sysctl.conf etc.${MACHINE}/sysctl.conf > ${DESTDIR}/etc/sysctl.conf && \
- chown ${BINOWN} ${DESTDIR}/etc/sysctl.conf && \
- chgrp ${BINGRP} ${DESTDIR}/etc/sysctl.conf && \
- chmod 644 ${DESTDIR}/etc/sysctl.conf
+ cat sysctl.conf etc.${MACHINE}/sysctl.conf > \
+ ${DESTDIR}/etc/examples/sysctl.conf && \
+ chown ${BINOWN} ${DESTDIR}/etc/examples/sysctl.conf && \
+ chgrp ${BINGRP} ${DESTDIR}/etc/examples/sysctl.conf && \
+ chmod 644 ${DESTDIR}/etc/examples/sysctl.conf
cat fbtab.head etc.${MACHINE}/fbtab fbtab.tail > ${DESTDIR}/etc/fbtab && \
chown ${BINOWN} ${DESTDIR}/etc/fbtab && \
chgrp ${BINGRP} ${DESTDIR}/etc/fbtab && \
diff --git a/etc/changelist b/etc/changelist
index 32330e93ee6..6ecbc9d1511 100644
--- a/etc/changelist
+++ b/etc/changelist
@@ -1,4 +1,4 @@
-# $OpenBSD: changelist,v 1.93 2014/07/14 09:04:02 deraadt Exp $
+# $OpenBSD: changelist,v 1.94 2014/07/15 08:28:43 deraadt Exp $
#
# List of files which the security script backs up and checks
# for modifications.
@@ -142,7 +142,7 @@
/etc/ssl/cert.pem
/etc/sudoers
/etc/suid_profile
-/etc/sysctl.conf
++/etc/sysctl.conf
/etc/syslog.conf
/etc/sysmerge.ignore
/etc/ttys
diff --git a/etc/sysctl.conf b/etc/examples/sysctl.conf
index c297506d424..ae9c83519b4 100644
--- a/etc/sysctl.conf
+++ b/etc/examples/sysctl.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: sysctl.conf,v 1.58 2014/07/11 16:43:07 henning Exp $
+# $OpenBSD: sysctl.conf,v 1.1 2014/07/15 08:28:43 deraadt Exp $
#
# This file contains a list of sysctl options the user wants set at
# boot time. See sysctl(3) and sysctl(8) for more information on