|
|
@ -18,6 +18,7 @@ $STD apt-get -y install \ |
|
|
|
sudo \ |
|
|
|
sudo \ |
|
|
|
mc \ |
|
|
|
mc \ |
|
|
|
curl \ |
|
|
|
curl \ |
|
|
|
|
|
|
|
git \ |
|
|
|
apt-utils \ |
|
|
|
apt-utils \ |
|
|
|
lighttpd \ |
|
|
|
lighttpd \ |
|
|
|
sqlite3 \ |
|
|
|
sqlite3 \ |
|
|
@ -52,8 +53,8 @@ $STD pip3 install fritzconnection |
|
|
|
$STD pip3 install cryptography |
|
|
|
$STD pip3 install cryptography |
|
|
|
msg_ok "Installed Python Dependencies" |
|
|
|
msg_ok "Installed Python Dependencies" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Pi.Alert" |
|
|
|
msg_info "Installing Pi.Alert (Patience)" |
|
|
|
curl -sL https://github.com/leiweibau/Pi.Alert/raw/main/tar/pialert_latest.tar | tar xvf - -C /opt >/dev/null 2>&1 |
|
|
|
git clone -q https://github.com/leiweibau/Pi.Alert.git /opt/pialert |
|
|
|
mkdir -p /opt/pialert/front/reports |
|
|
|
mkdir -p /opt/pialert/front/reports |
|
|
|
rm -rf /var/www/html/index.html /opt/pialert/{docs,install,tar} |
|
|
|
rm -rf /var/www/html/index.html /opt/pialert/{docs,install,tar} |
|
|
|
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old |
|
|
|
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old |
|
|
|