Commit 699ad455 authored by Stephan's avatar Stephan
Browse files

optimize call to ddmesh-utils-wifi-info.sh

parent 6e4039a9
Pipeline #2306 passed with stages
in 115 minutes and 21 seconds
......@@ -11,6 +11,7 @@ fi
. /usr/lib/www/page-functions.sh
eval $(/usr/lib/ddmesh/ddmesh-utils-network-info.sh all)
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
# get model
eval $(cat /etc/board.json | jsonfilter -e model='@.model.id' -e model2='@.model.name')
......
......@@ -11,6 +11,7 @@ fi
. /usr/lib/www/page-functions.sh
eval $(/usr/lib/ddmesh/ddmesh-utils-network-info.sh all)
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
# get model
eval $(cat /etc/board.json | jsonfilter -e model='@.model.id' -e model2='@.model.name')
......
......@@ -2,8 +2,6 @@
# Copyright (C) 2010 Stephan Enderlein <stephan@freifunk-dresden.de>
# GNU General Public License Version 3
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
if [ "$wifi_status_radio2g_up" = "1" ]; then
cat<<EOM
<tr><td><div class="plugin"><a class="plugin" href="wlanscan.cgi">WLAN-Scan</a></div></td></tr>
......
......@@ -2,8 +2,6 @@
# Copyright (C) 2010 Stephan Enderlein <stephan@freifunk-dresden.de>
# GNU General Public License Version 3
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
if [ "$wifi_status_radio2g_up" = "1" ]; then
cat<<EOM
<tr><td><div class="plugin"><a class="plugin" href="wifi-2g.cgi">WiFi 2.4 GHz</a></div></td></tr>
......
......@@ -2,8 +2,6 @@
# Copyright (C) 2010 Stephan Enderlein <stephan@freifunk-dresden.de>
# GNU General Public License Version 3
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
if [ "$wifi_status_radio5g_up" = "1" ]; then
cat<<EOM
<tr><td><div class="plugin"><a class="plugin" href="wifi-5g.cgi">WiFi 5 GHz</a></div></td></tr>
......
......@@ -9,12 +9,6 @@ echo ''
}
WIDTH=150
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
  • @stephan An dieser Stelle wird das util weiterhin benötigt, da sonst der WLAN Scan 5 GHz nicht mehr funktioniert.

Please register or sign in to reply
SCAN_RESULT=/tmp/wifi_scan
/usr/sbin/iw dev wifi2ap scan > $SCAN_RESULT
......
......@@ -10,7 +10,6 @@ else
fi
. /usr/lib/www/page-pre.sh ${0%/*}
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
WIDTH=100
......
......@@ -11,7 +11,6 @@ if [ "$form_action" = "overlay" ]; then
/usr/lib/ddmesh/ddmesh-overlay-md5sum.sh write >/dev/null
fi
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
eval $(sed 's#:\(.*\)$#="\1"#' /etc/built_info)
case "$git_ddmesh_branch" in
......
......@@ -5,7 +5,6 @@
export TITLE="Verwaltung &gt; Konfiguration: WIFI 2.4GHz"
. /usr/lib/www/page-pre.sh ${0%/*}
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
cat<<EOF
<h2>$TITLE</h2>
......
......@@ -5,7 +5,6 @@
export TITLE="Verwaltung &gt; Konfiguration: WIFI 5GHz"
. /usr/lib/www/page-pre.sh ${0%/*}
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
cat<<EOF
<h2>$TITLE</h2>
......
......@@ -6,7 +6,6 @@ export TITLE="Infos &gt; Status"
. /usr/share/libubox/jshn.sh
. /usr/lib/www/page-pre.sh
eval $(/usr/lib/ddmesh/ddmesh-utils-wifi-info.sh)
RESOLV_PATH="/tmp/resolv.conf.d"
RESOLV_FINAL="${RESOLV_PATH}/resolv.conf.final"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment