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/getPingResult.cgi
2024-07-22 01:58:46 -03:00

17 lines
579 B
Bash
Executable File

#!/bin/sh
echo -e "Content-Type: text/html\n"
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 hhh; charset=iso-8859-1\"><link rel=\"stylesheet\" href=\"/style.css\" type=\"text/css\"></head><body><table cellspacing=0 cellPadding=0 border=0><tr><td>"
echo "<font size='-1'>Ping Result:</font>"
echo "<BR>"
cat /tmp/pingOth | while read LINE
do
echo "<font size='-1'>$LINE</font>"
echo "<BR>"
done
echo "</td></tr></table></body></html>"