Fixes fatal error if attempting to check for an IP and the interface is down
Fixes fatal error if attempting to check for an IP and the interface is down - Hopefully
Moves on-error section, in attempt to fix ping bug
Adds PPPoE down detection into 'on-error' section
Adds Ethernet down detection into 'on-error' section
Forgot a closing brace
A brave commit that changes some of the stateful functionality, but potentially increases a new bug where by routes can increase several times
Fixes an issue where if state changes from down, to up, routes arent adjusted
Adjusted WAN up state
Improves codes to prevent repeat alerts / route changes
Fixes missing }
Fixes more } issues
Fixes even more } issues
Removes extra &&
Adds a line of debug code
Resolves a spelling issue
Resolves a typo that caused an alert/log with each iteration
Removed excessive logging
Removed more logging
Fixes several issues causing the script to malfunction