mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 21:54:40 +08:00
Update InstallNET.sh
This commit is contained in:
parent
92c4db8adf
commit
d0e90a0fde
1 changed files with 4 additions and 4 deletions
|
@ -2888,10 +2888,12 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
# Disable SELinux
|
||||
[[ -f /etc/selinux/config ]] && {
|
||||
SELinuxStatus=$(sestatus -v | grep "SELinux status:" | grep enabled)
|
||||
[[ "$SELinuxStatus" != "" ]] && echo -ne "\n${aoiBlue}# Disabled SELinux${plain}" && setenforce 0
|
||||
SELinuxStatus=$(sestatus -v | grep -i "selinux status:" | grep "enabled")
|
||||
[[ "$SELinuxStatus" != "" ]] && { echo -ne "\n${aoiBlue}# Disabling SELinux${plain}\n"; setenforce 0 2>/dev/null; echo -e "\nSuccess"; }
|
||||
}
|
||||
|
||||
[[ ! -d "/tmp/" ]] && mkdir /tmp
|
||||
|
@ -2904,8 +2906,6 @@ if [[ "$loaderMode" == "0" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
[[ -z "$tmpDIST" ]] && {
|
||||
[ "$Relese" == 'Debian' ] && tmpDIST='12'
|
||||
[ "$Relese" == 'Kali' ] && tmpDIST='rolling'
|
||||
|
|
Loading…
Reference in a new issue