1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Use master package instead of some customs

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-20 21:08:46 +02:00
parent 043502dada
commit 2f918b6f54
292 changed files with 0 additions and 239852 deletions

View file

@ -1,22 +0,0 @@
#!/bin/sh
if [ "$(uci -q get luci.diag)" != "internal" ]; then
host=""
if [ -s /etc/os-release ]; then
. /etc/os-release
host="${HOME_URL:-${BUG_URL:-$OPENWRT_DEVICE_MANUFACTURER_URL}}"
host="${host#*://}"
host="${host%%/*}"
fi
uci -q batch <<-EOF >/dev/null
set luci.diag=internal
set luci.diag.dns='openmptcprouter.com'
set luci.diag.ping='openmptcprouter.com'
set luci.diag.route='openmptcprouter.com'
commit luci
EOF
fi
exit 0