update tz
This commit is contained in:
parent
623589daa9
commit
0f7e48c498
@ -37,20 +37,21 @@ Install()
|
|||||||
mkdir -p /opt/onmp
|
mkdir -p /opt/onmp
|
||||||
|
|
||||||
# 获取onmp脚本
|
# 获取onmp脚本
|
||||||
curl -kfsSL https://raw.githubusercontent.com/monlor/ONMP/master/onmp.sh > /opt/onmp/onmp.sh
|
curl -kfsSL http://git.axibug.com/JackLee/ONMP/raw/branch/master/onmp.sh > /opt/onmp/onmp.sh
|
||||||
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
|
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
|
||||||
chmod +x /opt/onmp/onmp.sh
|
chmod +x /opt/onmp/onmp.sh
|
||||||
|
|
||||||
# 获取php探针文件
|
# 获取php探针文件
|
||||||
curl -kfsSL https://raw.githubusercontent.com/WuSiYu/PHP-Probe/master/tz.php > /opt/onmp/tz.php
|
curl -kfsSL http://www.yahei.net/tz/tz.zip > /opt/onmp/tz.zip
|
||||||
|
chmod +x /opt/onmp/tz.zip
|
||||||
|
unzip /opt/onmp/tz.zip
|
||||||
/opt/onmp/onmp.sh
|
/opt/onmp/onmp.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
Updata()
|
Updata()
|
||||||
{
|
{
|
||||||
rm -rf /opt/onmp/onmp.sh
|
rm -rf /opt/onmp/onmp.sh
|
||||||
curl -kfsSL https://raw.githubusercontent.com/monlor/ONMP/master/onmp.sh > /opt/onmp/onmp.sh
|
curl -kfsSL http://git.axibug.com/JackLee/ONMP/raw/branch/master/onmp.sh > /opt/onmp/onmp.sh
|
||||||
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
|
# curl -kfsSL http://192.168.4.237:4000/onmp.sh > /opt/onmp/onmp.sh
|
||||||
chmod +x /opt/onmp/onmp.sh
|
chmod +x /opt/onmp/onmp.sh
|
||||||
/opt/onmp/onmp.sh renewsh > /dev/null 2>&1
|
/opt/onmp/onmp.sh renewsh > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user