Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 2443897ccdeba55dec89987af0183d74 > files > 7

freepbx-2.7.0-2mdv2010.1.src.rpm

--- install_amp	2008-09-10 15:44:06.000000000 -0500
+++ install_amp	2008-09-10 15:44:32.000000000 -0500
@@ -928,18 +928,18 @@
 
 // **** Make sure selinux isn't enabled
 
-outn("Checking for selinux..");
-$tmpoutput;
-$tmpout = exec("getenforce", $tmpoutput, $sereturn);
-if (strtolower($tmpoutput[0]) === "enabled") {
-        // this method seems better because disabled and permissive are the same
-        // if a user installs and realizes selinux is running the other method 
-        // requires a reboot to get selinuxenabled to work after editing the  selinux config
-        // this will allow you to use setenforce 0 which turns selinux into permissive mode which
-        // doesnt enforce, it just warns.
-	fatal("selinux is ENABLED. This is not supported. Please disable selinux before using FreePBX");
-}
-out("OK");
+#outn("Checking for selinux..");
+#$tmpoutput;
+#$tmpout = exec("getenforce", $tmpoutput, $sereturn);
+#if (strtolower($tmpoutput[0]) === "enabled") {
+#        // this method seems better because disabled and permissive are the same
+#        // if a user installs and realizes selinux is running the other method 
+#        // requires a reboot to get selinuxenabled to work after editing the  selinux config
+#        // this will allow you to use setenforce 0 which turns selinux into permissive mode which
+#        // doesnt enforce, it just warns.
+#	fatal("selinux is ENABLED. This is not supported. Please disable selinux before using FreePBX");
+#}
+#out("OK");
 
 // **** Connect to database