Merge pull request #2795 from bmork/os-release-variable-renaming
luci-mod-network: os-release variables have been renamed to OPENWRT_
This commit is contained in:
commit
4566a733ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue