On 12/08/10 12:29, Brett Parker wrote:
I'd be adding them when the interface is brought up (post-up), and I'd be changing the add to a delete in a pre-down script.
In Ubuntu I have if-pre-up.d, if-up.d, if-down.d, if-post-down.d
So I've used if-up.d and if-down.d, is that right?
Next question: Can I modify my resolver settings from if-up? DHCP is only (capable of) giving me a single DNS search domain, and I need two. The Windows PCs have this given to them via group policies, but that's not much help to me (I assume!)
I have only ever edited /etc/resolv.conf before but that gets overwritten by NetworkMangler.