Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use findif.sh to detect secondary interfaces - get metric and proto to update the correct route/update it correctly - match route using interface to fail when trying to update secondary interfaces without specifying destination (would update default route before) - also use PRIMARY_IP/OPTS during stop-action for default routes (to get back to the exact routes we started with) - dont fail during stop-action if route doesnt exist - use [[:blank:]] for WS to follow POSIX standard (suggested by nrwahl)
- Loading branch information
Showing
1 changed file
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters