Use variables
Cleanup hacks. Only add default route if its not added already.
Add the interface as the default gateway if all else fails
Log commands run to bring up default route
Uncomment /dev/null.
More full paths to files
use full path to sed, sleep, etc
use full path to route
Simply call exit_with_hooks. We do not need to pass it a return value.
No need to check for rc.newwanip, the file will exist on pfSense
View revisions
Also available in: Atom