From 38a06d799f420d86b60b4672c867b9dd4fc5b1ba Mon Sep 17 00:00:00 2001 From: Jonathan Roemer Date: Wed, 10 Aug 2016 10:41:49 -0500 Subject: [PATCH 1/2] down-pre, not pre-down --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20f6820..5ff3386 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,13 @@ hosts: files resolve dns myhostname hosts: files dns resolve myhostname ``` -Finally, update your OpenVPN configuration file and set the `up` and `down` +Finally, update your OpenVPN configuration file and set the `up` and `down-pre` options: ``` script-security 2 up /etc/openvpn/update-systemd-resolved -pre-down /etc/openvpn/update-systemd-resolved +down-pre /etc/openvpn/update-systemd-resolved ``` # How to help From a27e2b1c9e5bc2c68e496fcba343cb6315e2cf03 Mon Sep 17 00:00:00 2001 From: Jonathan Roemer Date: Wed, 10 Aug 2016 11:20:28 -0500 Subject: [PATCH 2/2] down-pre, not pre-down --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92f6273..3d218c3 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ info: @echo ' hosts: files dns resolve myhostname' @echo @echo 'You should also update your OpenVPN configuration:' - @printf ' script-security 2\n up %s\n pre-down %s\n' $(DEST) $(DEST) + @printf ' script-security 2\n up %s\n down-pre %s\n' $(DEST) $(DEST) test: @./run-tests