Skip to content

Commit

Permalink
安装ssr前先安装wget
Browse files Browse the repository at this point in the history
  • Loading branch information
flyzy2005 committed May 9, 2018
1 parent 4cd1568 commit 1d8e5da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ss-fly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d8e5da

Please sign in to comment.