mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2026-04-05 00:55:12 +05:00
Compare commits
1 Commits
dbf51026a2
...
b45f6e6cdb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b45f6e6cdb |
@@ -94,6 +94,11 @@ if curl -6 -s https://ifconfig.io | egrep -q "(::)?[0-9a-fA-F]{1,4}(::?[0-9a-fA-
|
|||||||
checkpoint_false "IPv6 detected. This script does not currently work with IPv6"
|
checkpoint_false "IPv6 detected. This script does not currently work with IPv6"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# PPPoE
|
||||||
|
if uci show network.wan.proto | grep -q "pppoe"; then
|
||||||
|
checkpoint_false "PPPoE is used. That could be a problem"
|
||||||
|
fi
|
||||||
|
|
||||||
# Tunnels
|
# Tunnels
|
||||||
WIREGUARD=$(opkg list-installed | grep -c wireguard-tools )
|
WIREGUARD=$(opkg list-installed | grep -c wireguard-tools )
|
||||||
if [ $WIREGUARD -eq 1 ]; then
|
if [ $WIREGUARD -eq 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user