wget 下载rkhunter 超时问题
ym2011 opened this issue · comments
优化后的代码如下:
wget --timeout=10 --no-check-certificate https://github.com/al0ne/LinuxCheck/raw/master/rkhunter.tar.gz -O /tmp/rkhunter.tar.gz >/dev/null 2>&1
cmdline=(
"net-tools"
"telnet"
"nc"
"lrzsz"
"wget"
"strace"
"htop"
"tar"
"lsof"
"tcpdump"
"the_silver_searcher"
"silversearcher-ag"
"rkhunter"
)
yum install rkhunter -y 是可以成功的。。