diff options
author | Bjørn Mork <bjorn@mork.no> | 2019-06-26 11:24:19 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2019-06-26 14:54:27 +0200 |
commit | 689934196ffb76e12bbda3f06f1d9bf86b60311d (patch) | |
tree | d780901ccdc46c892a79c463a9635f6e4371f05d /modules | |
parent | eec28ed7b80e8614139a681121cbe1545d2514a5 (diff) |
luci-mod-network: os-release variables have been renamed to OPENWRT_
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release
variables") changes the prefix of the os-release variables from LEDE_
to OPENWRT_. Use the new name.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'modules')
-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 372eb1512..140c83299 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 |