📄 restartmp.cgi
字号:
#!/bin/sh
echo "Status 200 Ok"
echo "Content-type:text/plain"
echo ""
echo "<html>"
echo "<body>"
#Restart the MediaProxy .
cd /usr/local/g2mp/SipMPCtl
/usr/local/g2mp/SipMPCtl restart
cd -
#check the Media Proxy to see whether it was started successfully.
NUMBER=`ps -ef|grep whmp |wc -l`
if [ $NUMBER -le 1 ]
then
echo "Failed to restart the Media Proxy Server !!"
else
echo "Media Proxy Server was started successfully !"
fi
echo "</body>"
echo "</html>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -