Update pialert-install.sh

tweak
This commit is contained in:
tteckster 2023-09-13 08:28:57 -04:00 committed by GitHub
parent 4ad11e74f7
commit e09013a8df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ $STD pip3 install fritzconnection
$STD pip3 install cryptography
msg_ok "Installed Python Dependencies"
msg_info "Installing Pi.Alert (Patience)"
msg_info "Installing Pi.Alert"
curl -sL https://github.com/leiweibau/Pi.Alert/raw/main/tar/pialert_latest.tar | tar xvf - -C /opt >/dev/null 2>&1
rm /var/www/html/index.html
@ -82,7 +82,7 @@ ln -s "/opt/pialert/log/pialert.webservices.log" "/opt/pialert/front/php/server/
sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf
msg_ok "Installed Pi.Alert"
msg_info "Start Pi.Alert Scan"
msg_info "Start Pi.Alert Scan (Patience)"
$STD python3 /opt/pialert/back/pialert.py update_vendors
$STD python3 /opt/pialert/back/pialert.py internet_IP
$STD python3 /opt/pialert/back/pialert.py 1