Skip to content

Commit

Permalink
Merge pull request #5 from pid1/master
Browse files Browse the repository at this point in the history
down-pre, not pre-down
  • Loading branch information
jonathanio authored Aug 10, 2016
2 parents 988837d + a27e2b1 commit 653b0a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 653b0a3

Please sign in to comment.