From: Bjørn Mork Date: Wed, 26 Jun 2019 09:24:19 +0000 (+0200) Subject: luci-mod-network: os-release variables have been renamed to OPENWRT_ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=689934196ffb76e12bbda3f06f1d9bf86b60311d;p=project%2Fluci.git 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 --- 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