diff --git a/README.md b/README.md index d88a53b2..4058df23 100755 --- a/README.md +++ b/README.md @@ -69,12 +69,17 @@ Get visibility of what's going on on your WIFI/LAN network. Schedule scans for d > - [WatchYourLAN](https://github.com/aceberg/WatchYourLAN) - Lightweight network IP scanner with web GUI (Open source) > - [Fing](https://www.fing.com/) - Network scanner app for your Internet security (Commercial, Phone App, Proprietary hardware) -## ❤ Support me for... +### ⭐ Sponsors -- I don't get burned out and the app survives longer🔥🤯 -- Regular updates to keep your data and family safe 🔄 -- Better and more functionality➕ -- Quicker and better support with issues 🆘 +[![GitHub Sponsors](https://img.shields.io/github/sponsors/jokob-sk?style=social)](https://github.com/sponsors/jokob-sk) + +Thank you to all the wonderful people who are sponsoring this project (=preventing my burnout🔥🤯): + + +| All Sponsors | +|---| + + | [![GitHub](https://i.imgur.com/emsRCPh.png)](https://github.com/sponsors/jokob-sk) | [![Buy Me A Coffee](https://i.imgur.com/pIM6YXL.png)](https://www.buymeacoffee.com/jokobsk) | [![Patreon](https://i.imgur.com/MuYsrq1.png)](https://www.patreon.com/user?u=84385063) | | --- | --- | --- | @@ -91,20 +96,6 @@ Get visibility of what's going on on your WIFI/LAN network. Schedule scans for d - - -### ⭐ Sponsors - -[![GitHub Sponsors](https://img.shields.io/github/sponsors/jokob-sk?style=social)](https://github.com/sponsors/jokob-sk) - -Thank you to all the wonderful people who are sponsoring this project (=preventing my burnout🔥🤯): - - -| All Sponsors | -|---| - - - ### 🙏Contributors This project would be nothing without the amazing work of the community, with special thanks to: diff --git a/dockerfiles/setup.sh b/dockerfiles/setup.sh index 495ef2e7..453ea88c 100755 --- a/dockerfiles/setup.sh +++ b/dockerfiles/setup.sh @@ -35,10 +35,20 @@ cp -na "${INSTALL_DIR}/pialert/back/pialert.conf" "${INSTALL_DIR}/pialert/config cp -na "${INSTALL_DIR}/pialert/back/pialert.db" "${FILEDB}" # if custom variables not set we do not need to do anything -if [ -n "${TZ}" ]; then - FILECONF="${INSTALL_DIR}/pialert/config/pialert.conf" - echo "[INSTALL] Setup timezone" - sed -i "\#^TIMEZONE=#c\TIMEZONE='${TZ}'" "${FILECONF}" +# if [ -n "${TZ}" ]; then +# FILECONF="${INSTALL_DIR}/pialert/config/pialert.conf" +# echo "[INSTALL] Setup timezone" +# sed -i "\#^TIMEZONE=#c\TIMEZONE='${TZ}'" "${FILECONF}" +# fi + +# if custom variables not set we do not need to do anything +if [ -n "${TZ}" ]; then + FILECONF=$INSTALL_DIR/pialert/config/pialert.conf + if [ -f "$FILECONF" ]; then + sed -ie "s|Europe/Berlin|${TZ}|g" $INSTALL_DIR/pialert/config/pialert.conf + else + sed -ie "s|Europe/Berlin|${TZ}|g" $INSTALL_DIR/pialert/back/pialert.conf_bak + fi fi echo "[INSTALL] Setup NGINX" diff --git a/front/plugins/README.md b/front/plugins/README.md index d042f05a..694474dc 100755 --- a/front/plugins/README.md +++ b/front/plugins/README.md @@ -144,9 +144,9 @@ Currently, these data sources are supported (valid `data_source` value). | Pialert DB query | `pialert-db-query` | yes | Executes a SQL query on the PiAlert database in the `CMD` setting. | | Template | `template` | no | Used to generate internal settings, such as default values. | | External SQLite DB query | `sqlite-db-query` | yes | Executes a SQL query from the `CMD` setting on an external SQLite database mapped in the `DB_PATH` setting. | -| Plugin type | `plugin_type` | no | Specifies the type of the plugin and in which section the Plugin settings are displayed (``). | +| Plugin type | `plugin_type` | no | Specifies the type of the plugin and in which section the Plugin settings are displayed ( one of `general/system/scanner/other/publisher` ). | -> * "Needs to return a "table"" means that the application expects a `last_result.log` file with some results. It's not a blocker, however warnings in the `pialert.log` might be logged. +> * "Needs to return a "table" means that the application expects a `last_result.log` file with some results. It's not a blocker, however warnings in the `pialert.log` might be logged. > 🔎Example >```json