diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 1ab6899..644f67b 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -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'