Blob Blame History Raw
From a010ffd8dce8c801b5721df7f6f9db166b86626d Mon Sep 17 00:00:00 2001
From: Jan Grulich <jgrulich@redhat.com>
Date: Tue, 3 Feb 2015 11:17:25 +0100
Subject: [PATCH 1/6] Do not wait for input from keyboard and read from file
 instead BUG:1188233, 1173861

---
 sapconf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sapconf b/sapconf
index 154c27a..c7492be 100644
--- a/sapconf
+++ b/sapconf
@@ -622,7 +622,7 @@ else
     if egrep -q "^SELINUX=['\"]?disabled" $SELINUX_CONFIG; then
         rec "SElinux is configured to be disabled on boot. It's recommended to be set to permissive, however your system may then require to be relabeled. Please check $SAP_NOTE_RHEL7 for details."
     else
-        if egrep -q "^SELINUX=['\"]?permissive"; then
+        if egrep -q "^SELINUX=['\"]?permissive" $SELINUX_CONFIG; then
             out "SELinux is configured to be permissive... OK"
         else
             rec "Unable to determine SELinux configuration ($SELINUX_CONFIG). Please configure your system to be booted with SELinux enabled in permissive mode. Please check $SAP_NOTE_RHEL7 for details."
-- 
2.1.0