Skip to content

Commit

Permalink
Update dnsmasq_sniproxy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TsukasaYuki committed May 15, 2019
1 parent eb5c4b6 commit 5066b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsmasq_sniproxy.sh
Expand Up @@ -7,7 +7,7 @@ green='\033[0;32m'
yellow='\033[0;33m'
plain='\033[0m'

[[ $EUID -ne 0 ]] && echo -e "[${red}Error${plain}] 需要root用户来执行该脚本!" && exit 1
[[ $EUID -ne 0 ]] && echo -e "[${red}Error${plain}] You have use root!" && exit 1

disable_selinux(){
if [ -s /etc/selinux/config ] && grep 'SELINUX=enforcing' /etc/selinux/config; then
Expand Down

0 comments on commit 5066b94

Please sign in to comment.