Skip to content

Commit

Permalink
add openvpn 升级
Browse files Browse the repository at this point in the history
  • Loading branch information
AlifeLine committed Jul 16, 2019
1 parent a079776 commit b5404b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dalo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1417,8 +1417,8 @@ function shellduqu() {
echo ""
echo -e "9丶\033[41;37mDALO流量卫士安装\033[0m"
echo ""
#echo -e "10丶\033[41;37m升级OpenVPN(提升VPN性能!)\033[0m"
#echo ""
echo -e "10丶\033[41;37m升级OpenVPN(提升VPN性能!)(测试)\033[0m"
echo ""
echo -e "11丶\033[41;37m添加hosts脚本\033[0m"
echo ""
echo -e "12丶\033[41;37m添加圣子IP脚本\033[0m"
Expand Down Expand Up @@ -2695,8 +2695,8 @@ function openvpn_sj(){
yum remove openvpn -y
wget -O /etc/openvpn/openvpn_sj.zip ${http}/${host}/${wenjiann}/openvpn_sj.zip >/dev/null 2>&1
unzip -o /etc/openvpn/openvpn_sj.zip -d /etc/openvpn >/dev/null 2>&1
rpm -ivh /etc/openvpn/openvpn-2.3.7-1.el6.x86_64.rpm >/dev/null 2>&1
rm -rf /etc/openvpn/openvpn_sj.zip /etc/openvpn/openvpn-2.3.7-1.el6.x86_64.rpm
rpm -ivh /etc/openvpn/openvpn-2.4.7-1.el6.x86_64.rpm >/dev/null 2>&1
rm -rf /etc/openvpn/openvpn_sj.zip /etc/openvpn/openvpn-2.4.7-1.el6.x86_64.rpm
vpn;
echo "升级完成~";
}
Expand Down
Binary file added data/openvpn_sj.zip
Binary file not shown.

0 comments on commit b5404b0

Please sign in to comment.