#!/bin/sh . /www/cgi-bin/functions.sh info_get_wanproto=$($nvram get wan_proto) print_cgi_header print_ca_http_header cat < var pchar = "|"; // progress char var maxchars = 50; if ("$info_get_wanproto" =="pptp") var delay_time = 1200; // msecs else var delay_time = 1000; var charcount = 0; function makeStr(strsize, fillchar) { var temp = ""; for (i=0; i < strsize ; i ++) temp = temp + fillchar; return temp; } function updateProgress() { var cf = document.forms[0]; if (charcount < maxchars) { charcount ++; cf.progress.value = makeStr(charcount,pchar); setTimeout("updateProgress()",delay_time); if(charcount == (maxchars/5) *5 ) location.href="welcome_wait.html" } }

 

  

 

 

                    
  
0%                                              100%