Репозитории ALT
S: | 1.44.0-alt2 |
5.1: | 0.7.3-alt2.git20101007.M51.1 |
4.1: | 0.7.1-alt5.M41.5 |
Группа :: Система/Настройка/Сеть
Пакет: NetworkManager
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-no-default-connection.patch
Скачать
Скачать
diff --git a/NetworkManager/system-settings/src/main.c b/NetworkManager/system-settings/src/main.c
index 9286486..49fdeec 100644
--- a/NetworkManager/system-settings/src/main.c
+++ b/NetworkManager/system-settings/src/main.c
@@ -422,7 +422,9 @@ device_added_cb (DBusGProxy *proxy, const char *udi, NMDeviceType devtype, gpoin
/* Wait for a plugin to figure out if the device should be managed or not */
info = g_malloc0 (sizeof (WiredDeviceInfo));
info->app = app;
- info->add_id = g_timeout_add (4000, add_default_dhcp_connection, info);
+ /* Don't create default connection: nm-applet do it */
+ if(0)
+ info->add_id = g_timeout_add (4000, add_default_dhcp_connection, info);
info->udi = g_strdup (udi);
g_hash_table_insert (app->wired_devices, info->udi, info);
}