From 1d8e5da0582e7dd76a80c3f0e59c3363897a6134 Mon Sep 17 00:00:00 2001 From: flyzy2005 Date: Wed, 9 May 2018 16:52:28 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85ssr=E5=89=8D=E5=85=88?= =?UTF-8?q?=E5=AE=89=E8=A3=85wget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ss-fly.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ss-fly.sh b/ss-fly.sh index 27fc372..bf56854 100755 --- a/ss-fly.sh +++ b/ss-fly.sh @@ -143,6 +143,16 @@ install_bbr() { } install_ssr() { + check_os + case $os in + 'ubuntu'|'debian') + apt-get -y update + apt-get -y install wget + ;; + 'centos') + yum install -y wget + ;; + esac wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log