sane-vpn-*: reference sane-ip-check instead of duplicating
This commit is contained in:
@@ -14,6 +14,6 @@ fi
|
|||||||
|
|
||||||
iface=wg-quick-ovpnd-$1.service
|
iface=wg-quick-ovpnd-$1.service
|
||||||
|
|
||||||
echo vpn: $(curl https://ipinfo.io/ip)
|
echo vpn: $(sane-ip-check)
|
||||||
sudo systemctl stop $iface
|
sudo systemctl stop $iface
|
||||||
echo plain: $(curl https://ipinfo.io/ip)
|
echo plain: $(sane-ip-check)
|
||||||
|
@@ -14,6 +14,6 @@ fi
|
|||||||
|
|
||||||
iface=wg-quick-ovpnd-$1.service
|
iface=wg-quick-ovpnd-$1.service
|
||||||
|
|
||||||
echo plain: $(curl https://ipinfo.io/ip)
|
echo plain: $(sane-ip-check)
|
||||||
sudo systemctl start $iface
|
sudo systemctl start $iface
|
||||||
echo vpn: $(curl https://ipinfo.io/ip)
|
echo vpn: $(sane-ip-check)
|
||||||
|
Reference in New Issue
Block a user