summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/opengnsys.init
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-03-20 11:12:56 +0000
committerramon <ramongomez@us.es>2012-03-20 11:12:56 +0000
commitea60f4177485729fd840a668fa69e226497f7d08 (patch)
tree97c34c4de101124e48c7475b90f13efb3fca4054 /admin/Sources/Services/opengnsys.init
parent55477d293862a9965f044b558d1224104dc2dd2b (diff)
Versión 1.0.4, #414: Modificar configuración de PHP y SELinux para consola web en CentOS.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2903 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/opengnsys.init')
-rwxr-xr-xadmin/Sources/Services/opengnsys.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init
index 863184f9..5a31aa78 100755
--- a/admin/Sources/Services/opengnsys.init
+++ b/admin/Sources/Services/opengnsys.init
@@ -112,6 +112,8 @@ arranca_demonios() {
$FAILMSG
exit $?
fi
+ # Deshabilitar modo reforzado de SELinux.
+ [ -f /selinux/enforce ] && echo 0 > /selinux/enforce
# Verificar permisos básicos.
if [ "$(stat --printf="%A%G" $IMAGEDIR 2>/dev/null)" != "drwxrwxr-x$OPENGNSYSUSER" ]; then
mkdir $IMAGEDIR 2>/dev/null