Update install.sh
This commit is contained in:
parent
a53ad5d1b1
commit
b0014c0477
|
|
@ -12,7 +12,7 @@ sysName=`uname`
|
|||
VERSION=$2
|
||||
|
||||
# 开启可以PING
|
||||
sysctl -w net.ipv4.ping_group_range="0 2147483647"
|
||||
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
|
|
@ -25,6 +25,8 @@ Install_App()
|
|||
name=linux
|
||||
if [ "$sysName" == "Darwin" ];then
|
||||
name="darwin"
|
||||
else
|
||||
sysctl -w net.ipv4.ping_group_range="0 2147483647"
|
||||
fi
|
||||
|
||||
if [ "$ARCH" == "x86_64" ];then
|
||||
|
|
|
|||
Loading…
Reference in New Issue