Skip to content

Commit

Permalink
Don't use the "tun" interface prefix for resolvconf call
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Litvinov <[email protected]>
  • Loading branch information
Zensey committed Feb 21, 2024
1 parent d99042a commit 4e98ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/package/config/linux/update-resolv-conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ case "$script_type" in
for NS in $NMSRVRS ; do
R="${R}nameserver $NS\n"
done
echo -e -n "$R" | sudo $RESOLVCONFBIN -a "tun.${dev}"
echo -e -n "$R" | sudo $RESOLVCONFBIN -a "${dev}"
;;
down)
sudo $RESOLVCONFBIN -d "tun.${dev}"
sudo $RESOLVCONFBIN -d "${dev}"
;;
esac

0 comments on commit 4e98ea3

Please sign in to comment.