fff-web: UPGRADE_PATH in header should be taken from hood file

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
Adrian Schmutzler 2018-02-12 19:05:09 +01:00 committed by Tim Niemeyer
parent 9a470994aa
commit a86f45c269
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
#!/usr/bin/haserl
<%
. /etc/community.cfg
. /lib/functions/fff/keyxchange
. /etc/firmware_release
UPGRADE_PATH="$(getUpgradePath)"
echo -en "Content-Type: text/html\r\n\r\n"
nav_entry() {
script_file="/cgi-bin/$1"