Browse Source

disable selinux

root 10 years ago
parent
commit
437fc3ca1b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      BackupPC_install.sh

+ 3 - 0
BackupPC_install.sh

@@ -7,6 +7,9 @@ echo "pbourdin@ceme-sa.com"
 
 echo "NOZEROCONF=yes" >> /etc/sysconfig/network
 
+sed -i -e "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux
+setenforce 0
+
 configure_repo() {
 	yum -y install wget vim
 	cd /tmp