diff --git a/src/etc/Makefile b/src/etc/Makefile index 896cf7ae..5ee586b6 100644 --- a/src/etc/Makefile +++ b/src/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 @@ -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/src/etc/examples/unwind.conf b/src/etc/examples/unwind.conf new file mode 100644 index 00000000..ea60cf9b --- /dev/null +++ b/src/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 "SuccessSuccess\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 +#}