Gurus,

I have built a script that configures iproute2 on my LEAF box. I tried placing this script in /etc/network/if-up.d/ and then backing up - which saves my script quite nicely.

When I "restart networking" from the menu I notice this script being run more than once, when ideally it should be run once on boot / network-restart.

What is the best way to hook this script in ?

Basically, it wget's a conf file from a private LAN, and executes it, loading extra addresses, routes into tables, rules etc. The Interface facing the core is not touched by the script - it is set and left in the inital config (too many times during testing I lost contact with the router due to slipups.) Only user-facing interfaces are configured.


TIA, Steve




------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to