From: horse69 Date: Fri, 14 Sep 2012 23:01:28 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@709 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=40e1c4cee76e030666606539252040d3d10f4a2f;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@709 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/cgi-bin/network-backdoor.cgi b/mini-asterisk-gui2/cgi-bin/network-backdoor.cgi index 1f5e83c7..0accbcdf 100755 --- a/mini-asterisk-gui2/cgi-bin/network-backdoor.cgi +++ b/mini-asterisk-gui2/cgi-bin/network-backdoor.cgi @@ -18,7 +18,7 @@ Content-type: text/html 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 -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 -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 <