Per Jessen wrote:
I haven't used one of these (/etc/sysconfig/network/if-up.d/*) in years, but I thought the idea is they're are all run when an interface comes up? I'm not sure, but it doesn't seem to work like that in TW. Well, my carefully crafted script is certainly being ignored :-)
Looking at /etc/sysconfig/network/config in 13.2, we had
GLOBAL_POST_UP_EXEC="yes" GLOBAL_PRE_DOWN_EXEC="yes"
but they seem to have disappeared in TW. I looked at the 'ifup' man page in Leap422, there's no mention of any scripts or if-up.d/.
Here are the two things I have tried sofar - a) I placed a script in /etc/sysconfig/network/if-up.d/myscript - didn't work. b) I placed a script in /etc/sysconfig/network/scripts/ and added POST_UP_SCRIPT=myscript to ifcfg-wlan0 - didn't work. This is on TW, I guess the mechanism could be borken, but isn't this the way it was/is supposed to work? I see e.g. /etc/sysconfig/network/if-up.d/SuSEfirewall2 (symlink to scripts/SuSEfirewall2). -- Per Jessen, Zürich (9.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org