1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/filesystem/boaroot/cgi-bin/InsertSimcardMsg.cgi
2024-07-22 01:58:46 -03:00

20 lines
681 B
Bash
Executable File

#!/bin/sh
echo "Content-Type: text/html"
echo ""
echo "<html><head><meta http-equiv=Content-Script-Type content=text/javascript><meta http-equiv=Content-Style-Type
content=text/css><meta http-equiv=Content-Type content=\"text/html; charset=gb2312\"></head><body><table cellspacing=0 cellPadding=0 border=0><tr>"
reqMethod=`/userfs/bin/tcapi get System_Entry reqMethod`
echo "<td style='FONT-SIZE: 25px;color:red;padding-top:23px;padding-left:200px;'>"
if [ "$reqMethod" = "Post" ]
then
ret=`/userfs/bin/tcapi set System_Entry reqMethod Get`
echo "用户参数写入卡不成功,配置无效!"
else echo "请插入合法的家庭网关卡后重启家庭网关!"
fi
echo "</td></tr></table></body></html>"