Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo authored Aug 10, 2017
1 parent 1d516ee commit 905e1dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ssr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export PATH
#=================================================
# System Required: CentOS 6+/Debian 6+/Ubuntu 14.04+
# Description: Install the ShadowsocksR server
# Version: 2.0.26
# Version: 2.0.27
# Author: Toyo
# Blog: https://doub.io/ss-jc42/
#=================================================

sh_ver="2.0.26"
sh_ver="2.0.27"
filepath=$(cd "$(dirname "$0")"; pwd)
file=$(echo -e "${filepath}"|awk -F "$0" '{print $1}')
ssr_folder="/usr/local/shadowsocksr"
Expand Down Expand Up @@ -68,6 +68,7 @@ LotServer_installation_status(){
BBR_installation_status(){
if [[ ! -e ${BBR_file} ]]; then
echo -e "${Error} 没有发现 BBR脚本,开始下载..."
cd "${file}"
if ! wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/bbr.sh; then
echo -e "${Error} BBR 脚本下载失败 !" && exit 1
else
Expand Down
6 changes: 4 additions & 2 deletions ssrmu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export PATH
#=================================================
# System Required: CentOS 6+/Debian 6+/Ubuntu 14.04+
# Description: Install the ShadowsocksR mudbjson server
# Version: 1.0.1
# Version: 1.0.2
# Author: Toyo
# Blog: https://doub.io/ss-jc60/
#=================================================

sh_ver="1.0.1"
sh_ver="1.0.2"
filepath=$(cd "$(dirname "$0")"; pwd)
file=$(echo -e "${filepath}"|awk -F "$0" '{print $1}')
ssr_folder="/usr/local/shadowsocksr"
Expand Down Expand Up @@ -71,6 +71,7 @@ LotServer_installation_status(){
BBR_installation_status(){
if [[ ! -e ${BBR_file} ]]; then
echo -e "${Error} 没有发现 BBR脚本,开始下载..."
cd "${file}"
if ! wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/bbr.sh; then
echo -e "${Error} BBR 脚本下载失败 !" && exit 1
else
Expand Down Expand Up @@ -1515,6 +1516,7 @@ Update_Shell(){
stty erase '^H' && read -p "(默认: y):" yn
[[ -z "${yn}" ]] && yn="y"
if [[ ${yn} == [Yy] ]]; then
cd "${file}"
if [[ $sh_new_type == "softs" ]]; then
wget -N --no-check-certificate https://softs.fun/Bash/ssrmu.sh && chmod +x ssrmu.sh
else
Expand Down

0 comments on commit 905e1dd

Please sign in to comment.