|
#!/bin/sh
|
|
export PATH=$PATH:/bin/vs/cgi-bin:/bin/vs
|
|
|
|
echo -e "Content-Type:text/plain\r"
|
|
echo -e "\r"
|
|
|
|
ap_config=/etc/network/wifiap.conf
|
|
|
|
apname="`cat $ap_config | grep ap_name | cut -d'=' -f2`"
|
|
apname="`echo $apname | awk -F" " '{print $2}'`"
|
|
|
|
|
|
echo var apname =\"${apname}\"\;
|
|
|