added various changes for alpha 0.8

This commit is contained in:
Russel Yasol
2024-05-19 10:59:44 +08:00
parent bf6637996c
commit 46696cdf28
7 changed files with 371 additions and 52 deletions

View File

@@ -13,9 +13,9 @@ if [ "${QUERY_STRING}" ]; then
done
fi
x=$(urldecode "$atcmd")
MYATCMD=$(printf '%b\n' "${atcmd//%/\\x}")
if [ -n "${MYATCMD}" ]; then
x=$(urldecode "$atcmd")
# Initialize wait time to 200 ms
wait_time=200
while true; do
@@ -32,4 +32,4 @@ fi
echo "Content-type: text/plain"
echo $x
echo ""
echo $runcmd
echo $runcmd