#!/bin/sh . /www/cgi-bin/functions.sh lock_cgiwait wlan_get_country=$($nvram get wl_country_code) if [ -f /tmp/IA_command ];then rm /tmp/IA_command fi print_cgi_header print_http_header cat < var wlan_get_country="$wlan_get_country"; if(wlan_get_country!=12) location.href="ca_wireless_mode.html"; else location.href="ca_country_set.html"; EOF