On 08/26/2018 08:42 AM, James Knott wrote:
You misunderstand what my script is and does.
This script is "/etc/NetworkManager/dispatcher.d/mine", and is called directly by Network manager whenever any interface goes up or down. Metric does not matter here. Eth goes up, the script gets called by NM. Then wlan goes up, my script gets called again. No, I don't know what your script does, but it does appear to be causing
On 08/26/2018 05:08 AM, Carlos E. R. wrote: the problem.
Yes, I can modify my script to detect that eth is up when it gets called for wlan. That's a good idea. It might eliminate the problem with your script.
A better command might be ip link show dev eth0|grep "state UP" as it doesn't seem to have the same delay in changing as ip route show does. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org