diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/05-ifupdown-allow-hotplug-autoconnect.patch | 13 | ||||
| -rw-r--r-- | debian/patches/series | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/debian/patches/05-ifupdown-allow-hotplug-autoconnect.patch b/debian/patches/05-ifupdown-allow-hotplug-autoconnect.patch new file mode 100644 index 00000000..d27dfe35 --- /dev/null +++ b/debian/patches/05-ifupdown-allow-hotplug-autoconnect.patch @@ -0,0 +1,13 @@ +Index: NetworkManager-0.7.999/system-settings/plugins/ifupdown/plugin.c +=================================================================== +--- NetworkManager-0.7.999.orig/system-settings/plugins/ifupdown/plugin.c 2010-02-08 16:07:48.379559508 +0100 ++++ NetworkManager-0.7.999/system-settings/plugins/ifupdown/plugin.c 2010-02-08 16:08:04.255557965 +0100 +@@ -355,7 +355,7 @@ + ifparser_init (); + block = ifparser_getfirst (); + while (block) { +- if(!strcmp ("auto", block->type)) ++ if(!strcmp ("auto", block->type) || !strcmp ("allow-hotplug", block->type)) + g_hash_table_insert (auto_ifaces, block->name, GUINT_TO_POINTER (1)); + else if (!strcmp ("iface", block->type) && strcmp ("lo", block->name)) { + NMIfupdownConnection *exported; diff --git a/debian/patches/series b/debian/patches/series index 08786385..f1e83cf1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,4 @@ 02-dbus_access_network_manager.patch 03-hostname-fallback.patch 04-etc-hosts-rewrite.patch -#20-manual_means_always_online.patch +05-ifupdown-allow-hotplug-autoconnect.patch |