diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2019-06-26 21:40:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 21:40:41 +0300 |
commit | 4566a733ae77bba59a205eb707461905807d0bb9 (patch) | |
tree | 1be3c4c326f15a59e60c334d3d32923a0fc30d07 | |
parent | 015f247d9bec19f2947957c6693528fb5167431b (diff) | |
parent | 689934196ffb76e12bbda3f06f1d9bf86b60311d (diff) |
Merge pull request #2795 from bmork/os-release-variable-renaming
luci-mod-network: os-release variables have been renamed to OPENWRT_
-rwxr-xr-x | modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full b/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full index 372eb15122..140c832997 100755 --- a/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full +++ b/modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full @@ -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 |