mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
This commit is contained in:
@@ -8,3 +8,10 @@ Plugin to run regular Internet connectivity and IP checks. Change the [dig utili
|
||||
### Usage
|
||||
|
||||
- Check the Settings page for details.
|
||||
|
||||
|
||||
## Other info
|
||||
|
||||
- Version: 1.0.0
|
||||
- Author: [jokob-sk](https://github.com/jokob-sk)
|
||||
- Release Date: 1.1.2023
|
||||
@@ -68,8 +68,6 @@ def main():
|
||||
|
||||
new_internet_IP, cmd_output = check_internet_IP( PREV_IP, DIG_GET_IP_ARG)
|
||||
|
||||
#todo: use `curl ifconfig.me/ip` if above fails
|
||||
|
||||
if new_internet_IP == no_internet_ip:
|
||||
time.sleep(1*i) # Exponential backoff strategy
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user