Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROUNDABOUT: Implement ACTION=ifupdate #3

Open
killerbees19 opened this issue Apr 15, 2018 · 1 comment
Open

ROUNDABOUT: Implement ACTION=ifupdate #3

killerbees19 opened this issue Apr 15, 2018 · 1 comment

Comments

@killerbees19
Copy link
Member

killerbees19 commented Apr 15, 2018

i.e. required after DHCP renew of WAN interface

@killerbees19
Copy link
Member Author

Conclusion: Low priority feature! Not (yet) relevant at our setup…

Required changes: Move everything from ifup/ifdown block into separate functions.

elif [ "$ACTION" = "ifupdate" ]
then
	log "VARDUMP: IFUPDATE_ADDRESSES=$IFUPDATE_ADDRESSES; IFUPDATE_ROUTES=$IFUPDATE_ROUTES; IFUPDATE_PREFIXES=$IFUPDATE_PREFIXES; IFUPDATE_DATA=$IFUPDATE_DATA" "debug"
  • IFUPDATE_ADDRESSES or IUF_PREFIX: Update OpenDNS and restart services.
  • IFUPDATE_ADDRESSES or IUF_PREFIX or IUF_ROUTE: Update routing rules.
  • IUF_DATA: Nothing to do? 🤓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant