luci-mod-admin-full: figure out diagnostics host in postinstall
authorJo-Philipp Wich <jo@mein.io>
Thu, 6 Oct 2016 15:13:23 +0000 (17:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 6 Oct 2016 15:13:23 +0000 (17:13 +0200)
commit067fe5bcce0303f427fbe9351f043d330c7030ce
treee0a5d6d2d0c43931a26310e4e17dd2728a241e4c
parentd4c33720208346ee7983213fe764df3102b8a771
luci-mod-admin-full: figure out diagnostics host in postinstall

Attempt to infer the default diagnostics host for nslookup / ping / traceroute
from the various URLs in /etc/os-release. Fall back to "openwrt.org" if no
host is found to preserve backwards compatibility.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/root/etc/uci-defaults/50_luci-mod-admin-full [new file with mode: 0755]