summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-02-07 12:04:07 +0100
committerRamón M. Gómez <ramongomez@us.es>2019-02-07 12:04:07 +0100
commit6bd2e1e7ba1bb7f9911d95a3a4ed688b0cae1e58 (patch)
tree36ad54ffd72042ad9b71fccc3575de3b79facc48 /server
parentb0d5fb323802cac4ad5417e6c5fcfcab2e0d645d (diff)
#736: Installer script no longer disables firewall or SELinux, and recommends using {{{security-config}}} script.
Diffstat (limited to 'server')
-rwxr-xr-xserver/lib/security-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/security-config b/server/lib/security-config
index c6f6fdfa..76870b12 100755
--- a/server/lib/security-config
+++ b/server/lib/security-config
@@ -73,7 +73,7 @@ fi
# SELinux configuration.
if which setsebool &>/dev/null; then
- if [ "$(getenforce)" != "Disabled" ]; then
+ if selinuxenabled; then
echo "Configuring SELinux."
# Configuring Apache.
setsebool -P httpd_can_connect_ldap on