#!/bin/sh . /www/cgi-bin/functions.sh lock_cgiwait conflict_ip=$($nvram get lan_ipaddr) if [ -f /tmp/wan_lan_ip_conflict ];then conflict=`cat /tmp/wan_lan_ip_conflict` rm /tmp/wan_lan_ip_conflict /usr/sbin/nvram unset wan_lan_ip_conflict else conflict=0 fi print_cgi_header print_ca_http_header "/funcs.js" cat < function check_data() { var cf=document.forms[0]; if(cf.choice[0].checked) { cf.submit_flag.value="welcome_detwan"; cf.action="/cgi-bin/noauth_no_commit.cgi?/cgi-bin/welcome_detwan.html" cf.submit(); } else if(cf.choice[1].checked) { cf.submit_flag.value="advace_nohijack"; cf.action="/cgi-bin/setobject.cgi?/cgi-bin/basicsetting.html" cf.submit(); } } function CloseWindow() { top.window.opener=null; top.window.close(); } function msg_close() { alert(ca_alert_close); CloseWindow(); }

  


EOF print_http_footer