1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Update because LEDE var replaced by OPENWRT

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-06-27 20:48:19 +02:00
parent 9e4fdd82a9
commit fdfc5c8d5a

View file

@ -5,7 +5,7 @@ if [ "$(uci -q get luci.diag)" != "internal" ]; then
if [ -s /etc/os-release ]; then
. /etc/os-release
host="${HOME_URL:-${BUG_URL:-$LEDE_DEVICE_MANUFACTURER_URL}}"
host="${HOME_URL:-${BUG_URL:-$OPENWRT_DEVICE_MANUFACTURER_URL}}"
host="${host#*://}"
host="${host%%/*}"
fi