diff options
-rw-r--r-- | etc/Makefile | 4 | ||||
-rw-r--r-- | etc/examples/unwind.conf | 35 |
2 files changed, 37 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile index 896cf7aecde..5ee586b6448 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.467 2019/01/26 10:59:07 florian Exp $ +# $OpenBSD: Makefile,v 1.468 2019/02/05 16:23:58 florian Exp $ .include <bsd.own.mk> @@ -48,7 +48,7 @@ MUTABLE=changelist daily etc.${MACHINE}/disktab \ EXAMPLES=acme-client.conf chio.conf dhclient.conf dhcpd.conf exports \ httpd.conf ifstated.conf inetd.conf man.conf mixerctl.conf \ mrouted.conf ntpd.conf printcap rad.conf rbootd.conf \ - remote sensorsd.conf wsconsctl.conf + remote unwind.conf sensorsd.conf wsconsctl.conf # -rw------- EXAMPLES_600=bgpd.conf doas.conf dvmrpd.conf eigrpd.conf hostapd.conf \ diff --git a/etc/examples/unwind.conf b/etc/examples/unwind.conf new file mode 100644 index 00000000000..ea60cf9b6ff --- /dev/null +++ b/etc/examples/unwind.conf @@ -0,0 +1,35 @@ +# $OpenBSD: unwind.conf,v 1.1 2019/02/05 16:23:58 florian Exp $ +# +# unwind(8) works without a configuration file in most cases. +# See unwind.conf(5) for configuration options. + +# Non-exhaustive list of connectivity test providers. +# To only occasionally run a captive portal check manually from unwindctl(8) +# add "auto no" to the block. +#captive portal { +# url "http://captive.apple.com/" +# expected response "<HTML><HEAD><TITLE>Success</TITLE></HEAD><BODY>Success</BODY></HTML>\n" +# # auto no # uncomment to run manually from unwindctl(8) +#} +#captive portal { +# url "http://clients3.google.com/generate_204" +# expected status 204 +# # auto no # uncomment to run manually from unwindctl(8) +#} +#captive portal { +# url "http://detectportal.firefox.com/" +# expected response "success\n" +# # auto no # uncomment to run manually from unwindctl(8) +#} + +# Running a connectivity test provider with httpd(8). +# httpd.conf +#server "c.YOUR-DOMAIN.com" { +# listen on * port 80 +# location "*" { block return 204 } +#} +# unwind.conf +#captive portal { +# url "http://c.YOUR-DOMAIN.com/" +# expected status 204 +#} |