#!/bin/sh
. /www/cgi-bin/functions.sh
wds_endis_fun=$($nvram get wds_endis_fun)
wds_repeater_basic=$($nvram get wds_repeater_basic)
endis_wl_radio=$($nvram get endis_wl_radio)
print_cgi_header
print_http_header "/funcs.js"
echo ""
print_table_header ""
cat <
if ("$wds_endis_fun" == "1" && "$wds_repeater_basic" == "0" && "$endis_wl_radio" == "1" )
top.contents.location.href="menu_wds.html";
else
top.contents.location.href="menu.html";
EOF
print_http_footer_wait