Skip to content

Commit

Permalink
Exit directly when requirements are not fulfilled
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenmalisi committed Jul 4, 2023
1 parent d511694 commit 4293a14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ppp/ip-up.d/0000usepeerdns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# this variable is only set if the usepeerdns pppd option is being used
[ "$USEPEERDNS" ] || exit 0
[ -n "$VPN_DOMAINS" ] || exit 0

DNSMASQ_CONF=/etc/dnsmasq.d/0000usepeerdns.conf

Expand Down

0 comments on commit 4293a14

Please sign in to comment.