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 Oct 9, 2018
1 parent ae0001b commit 1c43e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iptables-pf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ install_iptables(){
echo -e "${Info} 检测到未安装 iptables,开始安装..."
if [[ ${release} == "centos" ]]; then
yum update
yum install -y vim iptables
yum install -y iptables
else
apt-get update
apt-get install -y vim iptables
apt-get install -y iptables
fi
iptables_exist=$(iptables -V)
if [[ ${iptables_exist} = "" ]]; then
Expand Down

0 comments on commit 1c43e51

Please sign in to comment.