mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-04 20:13:17 +00:00
Make installer work on centos 6 and warn that web ui is broken
This commit is contained in:
parent
e36ff00227
commit
6c1df57965
1 changed files with 3 additions and 0 deletions
|
@ -849,6 +849,9 @@ updatePihole() {
|
||||||
|
|
||||||
configureSelinux() {
|
configureSelinux() {
|
||||||
if [ -x "$(command -v getenforce)" ]; then
|
if [ -x "$(command -v getenforce)" ]; then
|
||||||
|
# If selinux is disabled skip
|
||||||
|
getenforce | grep Disabled &> /dev/null && return
|
||||||
|
|
||||||
printf "\n::: SELinux Detected\n"
|
printf "\n::: SELinux Detected\n"
|
||||||
printf ":::\tChecking for SELinux policy development packages..."
|
printf ":::\tChecking for SELinux policy development packages..."
|
||||||
package_check_install "selinux-policy-devel" > /dev/null
|
package_check_install "selinux-policy-devel" > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue