As far as I know, network-manager doesn't support scripts so I don't know how do to it to be automatic.
The best for you would be opening a new 'Question' about it (well, search first..), then please post here the link to it so that it can also help other people.
As far as I know, network-manager doesn't support scripts so I don't know how do to it to be automatic.
The best for you would be opening a new 'Question' about it (well, search first..), then please post here the link to it so that it can also help other people.