It wouldn't be easier add a third parameter to the network dispatcher calls that with the cause?
On Tue, Dec 17, 2013 at 9:54 AM, Pavel Simerda <[email protected]> wrote: > > > ----- Original Message ----- >> From: "Paolo Bolzoni" <[email protected]> >> To: [email protected] >> Sent: Friday, December 13, 2013 5:38:57 PM >> Subject: NetworkManager script dispatcher >> >> Dear list, >> I am using a vpn and I setup a script that >> connects automatically when I plug a usb >> external ethernet device, the script also >> reconnect if the vpn connection falls down. >> >> Now, I have some problems. The script >> reconnects also if I manually disconnect >> (using nm-applet or nmcli) and it messes >> up if I disconnect the cable. >> >> Is there a way to "know more" in the script >> what happened? Why the vpn falls down, if >> the cable is still connected... > > I think the best way is to use nmcli and file individual bugs for information > not available through nmcli. > > Cheers, > > Pavel > >> >> Thanks, >> Paolo >> _______________________________________________ >> networkmanager-list mailing list >> [email protected] >> https://mail.gnome.org/mailman/listinfo/networkmanager-list >> _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
