move SELinux config to installPihole() for logging

This commit is contained in:
bcambl 2016-06-08 12:21:35 -06:00
parent 5e27ccc37c
commit 97737ee9e3
1 changed files with 1 additions and 3 deletions

View File

@ -786,6 +786,7 @@ installPihole() {
installCron installCron
runGravity runGravity
configureFirewall configureFirewall
configureSelinux
} }
configureSelinux() { configureSelinux() {
@ -862,9 +863,6 @@ installPihole | tee $tmpLog
# Move the log file into /etc/pihole for storage # Move the log file into /etc/pihole for storage
$SUDO mv $tmpLog $instalLogLoc $SUDO mv $tmpLog $instalLogLoc
# Configure SELinux (if applicable)
configureSelinux
displayFinalMessage displayFinalMessage
echo -n "::: Restarting services..." echo -n "::: Restarting services..."