2008-01-18 Dan Williams <dcbw@redhat.com>
* system-settings/plugins/ifcfg/parser.c - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True' git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3247 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -98,7 +98,10 @@ make_connection_setting (const char *file,
|
||||
s_con->id = g_strdup_printf ("System %s", ifcfg_name);
|
||||
|
||||
s_con->type = g_strdup (type);
|
||||
s_con->autoconnect = TRUE;
|
||||
|
||||
/* Be somewhat conservative about autoconnect */
|
||||
if (svTrueValue (ifcfg, "ON_BOOT", FALSE))
|
||||
s_con->autoconnect = TRUE;
|
||||
|
||||
return (NMSetting *) s_con;
|
||||
|
||||
|
Reference in New Issue
Block a user