From 957b1644fdff2ff6bce4fb9c3af381b5148dae50 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 26 Aug 2016 16:00:27 +0200 Subject: Ignore new "connectivity-change" events in ifupdown dispatcher hook --- debian/changelog | 1 + debian/network-manager-dispatcher.script | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 704842dc..b4a42668 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ network-manager (1.4.0-1) UNRELEASED; urgency=medium * New upstream release. * Rebase patches. * Update symbols file for libnm0. + * Ignore new "connectivity-change" events in ifupdown dispatcher hook. -- Michael Biebl Fri, 26 Aug 2016 02:19:45 +0200 diff --git a/debian/network-manager-dispatcher.script b/debian/network-manager-dispatcher.script index ebadfd10..5ac31f07 100644 --- a/debian/network-manager-dispatcher.script +++ b/debian/network-manager-dispatcher.script @@ -4,6 +4,12 @@ # Runs ifupdown scripts when NetworkManager fiddles with interfaces. # See NetworkManager(8) for further documentation of the dispatcher events. +# We do not handle connectivity-change events in ifupdown so simply exit at +# this point +if [ "$2" = "connectivity-change" ]; then + exit 0; +fi + if [ -z "$1" ]; then echo "$0: called with no interface" 1>&2 exit 1; -- cgit 1.3.0-6-gf8a5