update
This commit is contained in:
parent
1f3888628f
commit
150bde3ea2
@ -37,12 +37,12 @@ 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://git.axibug.com/JackLee/ONMP/raw/branch/master/tz.php > /opt/onmp/tz.php
|
||||||
|
|
||||||
/opt/onmp/onmp.sh
|
/opt/onmp/onmp.sh
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@ Install()
|
|||||||
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