Commit 157964a5 authored by anonym's avatar anonym

Also update /etc/resolv-over-clearnet.conf on disconnect.

parent 53131b0a
......@@ -8,11 +8,6 @@ if [ -z "$1" ] || [ "$1" = "lo" ]; then
exit 0
fi
# Run whenever an interface gets "up", not otherwise:
if [ "$2" != "up" ]; then
exit 0
fi
RESOLV_CLEARNET_CONF=/etc/resolv-over-clearnet.conf
# We are truncating the file as opposed to deleting + recreating it
# for a reason: we mount-bind this file over /etc/resolv.conf for
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment