enable SELinux boolean for httpd server side includes (SSI)
This commit is contained in:
parent
376eb81181
commit
682113892a
|
@ -800,6 +800,11 @@ configureSelinux() {
|
||||||
else
|
else
|
||||||
echo " already installed!"
|
echo " already installed!"
|
||||||
fi
|
fi
|
||||||
|
printf "::: Enabling httpd server side includes (SSI).. "
|
||||||
|
$SUDO setsebool -P httpd_ssi_exec on
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo -n "Success\n"
|
||||||
|
fi
|
||||||
printf ":::\tCompiling Pi-Hole SELinux policy..\n"
|
printf ":::\tCompiling Pi-Hole SELinux policy..\n"
|
||||||
$SUDO checkmodule -M -m -o /etc/pihole/pihole.mod /etc/.pihole/advanced/selinux/pihole.te
|
$SUDO checkmodule -M -m -o /etc/pihole/pihole.mod /etc/.pihole/advanced/selinux/pihole.te
|
||||||
$SUDO semodule_package -o /etc/pihole/pihole.pp -m /etc/pihole/pihole.mod
|
$SUDO semodule_package -o /etc/pihole/pihole.pp -m /etc/pihole/pihole.mod
|
||||||
|
|
Loading…
Reference in New Issue