<body>
EOF
-ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p" | sed -n "s/%20/ /pg"`
+ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p"`
echo "$ARG"
/etc/init.d/network-backdoor "$ARG"
cat <<EOF
<body>
EOF
-ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p" | sed -n "s/%20/ /pg"`
+ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p"`
echo "$ARG"
/etc/init.d/network-static "$ARG"
cat <<EOF
<body>
EOF
-ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p" | sed -n "s/%20/ /pg"`
+ARG=`echo "$QUERY_STRING" | sed -n "s/.*action=//p"`
echo "$ARG"
/etc/init.d/network "$ARG"
cat <<EOF
if (document.network.dhcp.value == "yes") {
if (dhcp = "no") {
- // disable network-state service and endable network service
+ // disable network-static service and endable network service
downloadUrl("/cgi-bin/network-static.cgi?action=disable",GenericReturn);
downloadUrl("/cgi-bin/network-static.cgi?action=stop",GenericReturn);