#!/bin/sh . /www/cgi-bin/functions.sh lock_cgiwait auto_basic_type=$($nvram get auto_check_for_upgrade) thank_for=$($nvram get thank_login) detwan=`/www/cgi-bin/go_webpage.sh` down_config_status=`[ -f /tmp/webupgrade_status ] && cat /tmp/webupgrade_status` $nvram set upgrade_flag=0 print_cgi_header print_http_header "/funcs.js" "/upgrade.js" echo "
EOF print_http_footer