Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-10-09 12:09:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
effcd89f66e8d5daf213fbb44286b343b190e8c8
effcd89f
1 parent
6468b9e9
refine script.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
6 行增加
和
4 行删除
trunk/scripts/run.sh
trunk/scripts/run.sh
查看文件 @
effcd89
...
...
@@ -39,10 +39,12 @@ if [[ `getenforce` != 'Disabled' ]]; then
echo
-e
"
${
RED
}
重启系统:sudo reboot
${
BLACK
}
"
;
fi
sudo /etc/init.d/iptables status >/dev/null 2>&1;
if
[[
$?
-ne 3
]]
;
then
echo
-e
"
${
RED
}
请关闭防火墙:
${
BLACK
}
"
;
echo
-e
"
${
RED
}
sudo /etc/init.d/iptables stop
${
BLACK
}
"
;
if
[[
-f /etc/init.d/iptables
]]
;
then
sudo /etc/init.d/iptables status >/dev/null 2>&1;
if
[[
$?
-ne 3
]]
;
then
echo
-e
"
${
RED
}
请关闭防火墙:
${
BLACK
}
"
;
echo
-e
"
${
RED
}
sudo /etc/init.d/iptables stop
${
BLACK
}
"
;
fi
fi
echo
-e
"
${
GREEN
}
请在hosts中添加一行:
${
BLACK
}
"
...
...
请
注册
或
登录
后发表评论