mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-21 00:26:16 -04:00
Update pialert_install.sh
This commit is contained in:
1 parent
a4eb028801
commit
b5b51d428f
1 file changed
+3
-2
@@ -119,7 +119,8 @@ ask_config() {
|
||||
if $PIHOLE_ACTIVE ; then
|
||||
DHCP_ACTIVE=`sudo grep DHCP_ACTIVE /etc/pihole/setupVars.conf |
|
||||
awk -F= '/./{print $2}'`
|
||||
|
||||
if [ "$DHCP_ACTIVE" = "" ] ; then DHCP_ACTIVE=false; fi
|
||||
|
||||
if ! $DHCP_ACTIVE ; then
|
||||
ask_yesno "Pi-hole DHCP server is not active." \
|
||||
"Do you want to activate Pi-hole DHCP server ?"
|
||||
@@ -752,7 +753,7 @@ print_header() {
|
||||
}
|
||||
|
||||
process_error() {
|
||||
log "\n"
|
||||
log ""
|
||||
log "************************************************************"
|
||||
log "************************************************************"
|
||||
log "** ERROR INSTALLING PI.ALERT **"
|
||||
|
||||
Reference in new issue
Block a user