WTZ bug #593
This commit is contained in:
29
README.md
29
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)
|
> - [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)
|
> - [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🔥🤯
|
[](https://github.com/sponsors/jokob-sk)
|
||||||
- Regular updates to keep your data and family safe 🔄
|
|
||||||
- Better and more functionality➕
|
Thank you to all the wonderful people who are sponsoring this project (=preventing my burnout🔥🤯):
|
||||||
- Quicker and better support with issues 🆘
|
|
||||||
|
<!-- SPONSORS-LIST DO NOT MODIFY BELOW -->
|
||||||
|
| All Sponsors |
|
||||||
|
|---|
|
||||||
|
|
||||||
|
<!-- SPONSORS-LIST DO NOT MODIFY ABOVE -->
|
||||||
|
|
||||||
| [](https://github.com/sponsors/jokob-sk) | [](https://www.buymeacoffee.com/jokobsk) | [](https://www.patreon.com/user?u=84385063) |
|
| [](https://github.com/sponsors/jokob-sk) | [](https://www.buymeacoffee.com/jokobsk) | [](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
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### ⭐ Sponsors
|
|
||||||
|
|
||||||
[](https://github.com/sponsors/jokob-sk)
|
|
||||||
|
|
||||||
Thank you to all the wonderful people who are sponsoring this project (=preventing my burnout🔥🤯):
|
|
||||||
|
|
||||||
<!-- SPONSORS-LIST DO NOT MODIFY BELOW -->
|
|
||||||
| All Sponsors |
|
|
||||||
|---|
|
|
||||||
|
|
||||||
<!-- SPONSORS-LIST DO NOT MODIFY ABOVE -->
|
|
||||||
|
|
||||||
### 🙏Contributors
|
### 🙏Contributors
|
||||||
|
|
||||||
This project would be nothing without the amazing work of the community, with special thanks to:
|
This project would be nothing without the amazing work of the community, with special thanks to:
|
||||||
|
|||||||
@@ -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}"
|
cp -na "${INSTALL_DIR}/pialert/back/pialert.db" "${FILEDB}"
|
||||||
|
|
||||||
# if custom variables not set we do not need to do anything
|
# if custom variables not set we do not need to do anything
|
||||||
if [ -n "${TZ}" ]; then
|
# if [ -n "${TZ}" ]; then
|
||||||
FILECONF="${INSTALL_DIR}/pialert/config/pialert.conf"
|
# FILECONF="${INSTALL_DIR}/pialert/config/pialert.conf"
|
||||||
echo "[INSTALL] Setup timezone"
|
# echo "[INSTALL] Setup timezone"
|
||||||
sed -i "\#^TIMEZONE=#c\TIMEZONE='${TZ}'" "${FILECONF}"
|
# 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
|
fi
|
||||||
|
|
||||||
echo "[INSTALL] Setup NGINX"
|
echo "[INSTALL] Setup NGINX"
|
||||||
|
|||||||
@@ -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. |
|
| 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. |
|
| 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. |
|
| 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 (`<general|system|scanner|other|publisher>`). |
|
| 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
|
> 🔎Example
|
||||||
>```json
|
>```json
|
||||||
|
|||||||
Reference in New Issue
Block a user