diff --git a/getdomains-install.sh b/getdomains-install.sh index 9fd3109..c4894a7 100755 --- a/getdomains-install.sh +++ b/getdomains-install.sh @@ -9,19 +9,19 @@ check_repo() { route_vpn () { if [ "$TUNNEL" == wg ]; then -cat << EOF > /etc/hotplug.d/iface/30-vpnroute +cat << EOF > /etc/hotplug.d/net/30-vpnroute #!/bin/sh ip route add table vpn default dev wg0 EOF elif [ "$TUNNEL" == awg ]; then -cat << EOF > /etc/hotplug.d/iface/30-vpnroute +cat << EOF > /etc/hotplug.d/net/30-vpnroute #!/bin/sh ip route add table vpn default dev awg0 EOF elif [ "$TUNNEL" == singbox ] || [ "$TUNNEL" == ovpn ] || [ "$TUNNEL" == tun2socks ]; then -cat << EOF > /etc/hotplug.d/iface/30-vpnroute +cat << EOF > /etc/hotplug.d/net/30-vpnroute #!/bin/sh sleep 10