On Tue, 2014-06-17 at 11:31 -0500, Dan Williams wrote:
On Tue, 2014-06-17 at 17:11 +0200, Michael Biebl wrote:Am 17.06.2014 16:50, schrieb Michael Biebl:I also noticed that you implemented pre-up and pre-down in the dispatcher and that there are now dedicated directories in /etc/NetworkManager/dispatcher.d/pre-down.d /etc/NetworkManager/dispatcher.d/pre-up.d That seems a bit inconsistent with how currently dispatcher scripts are handled, i.e. the "phase" is passed as $2 to scripts in /etc/NetworkManager/dispatcher.d/ Is there any reason why you didn't just extend the existing up/vpn-up, down/vpn-down?This also leads to this error message from the dispatcher: Jun 17 17:03:13 pluto nm-dispatcher[14151]: Cannot execute '/etc/NetworkManager/dispatcher.d/pre-down.d': not a regular file. Jun 17 17:03:13 pluto nm-dispatcher[14151]: Cannot execute '/etc/NetworkManager/dispatcher.d/pre-up.d': not a regular file.Thomas just pushed some fixes for this.
Hi, btw, I just pushed a small fix to avoid these error message: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=02747203c6212b0a35e86f4a3b21a0d632b78afc ciao Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part