0

After an interface getting up by wicked, How can I run a script?

I tried an:

$ echo 'echo "testiing `date`" |logger' > /etc/sysconfig/network/if-up.d/bond0; chmod +x /etc/sysconfig/network/if-up.d/bond0
$ echo "POST_UP_SCRIPT='/etc/sysconfig/network/if-up.d/bond0'" >> /etc/sysconfig/network/ifcfg-bond0

But didn't found the "testing" in /var/log/messages after a reboot.

The big question: How to execute a script after an interface is up, handled by wicked?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.