Carlos E. R. wrote:
On 08/05/2019 15.32, Per Jessen wrote:
Carlos E. R. wrote:
On 08/05/2019 13.36, Per Jessen wrote:
Carlos E. R. wrote:
On 08/05/2019 13.07, Per Jessen wrote:
If it were me, I think I would put an 'nsupdate' call in my NetworkManager or wicked scripts/hooks.
Ok, I can look into that. This setup is using wicked. Any RTFM guide for dummies about wicked hooks? :-)
It's very much what it has been for years - put a script in /etc/sysconfig/netwoirk/if-{up,down}.d/
Ah. But I have never tried with wicked, only with NM. Wicked is relatively "new".
The mechanisms haven't changed though -
/etc/sysconfig/network/if-{up,down}.d/
Same as in 10.3.
It will have a syntax.
Whatever shell you choose to execute it with. (hash-bang)
The script will get parameters on the command line and environment, which I need. What is the man page? It is not "man wicked"
Dunno - put a script in and dump the environment and the arguments. If you google it, you'll probably find the information too. -- Per Jessen, Zürich (9.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org