git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
eec28ed
)
luci-mod-network: os-release variables have been renamed to OPENWRT_
author
Bjørn Mork
<redacted>
Wed, 26 Jun 2019 09:24:19 +0000
(11:24 +0200)
committer
Bjørn Mork
<redacted>
Wed, 26 Jun 2019 12:54:27 +0000
(14:54 +0200)
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 <redacted>
modules/luci-mod-network/root/etc/uci-defaults/50_luci-mod-admin-full
patch
|
blob
|
history
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 372eb151223d960e3911d56fc1862f306be2dd2e..140c8329977d09c1406c97a46afe60b89f8066dc 100755
(executable)
--- 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
git clone https://git.99rst.org/PROJECT