Author: dcbw
Date: Fri Jan 18 16:52:09 2008
New Revision: 3247
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3247&view=rev

Log:
2008-01-18  Dan Williams  <[EMAIL PROTECTED]>

        * system-settings/plugins/ifcfg/parser.c
                - (make_connection_setting): interpret ON_BOOT=y as 
'autoconnect=True'



Modified:
   trunk/ChangeLog
   trunk/system-settings/plugins/ifcfg/parser.c

Modified: trunk/system-settings/plugins/ifcfg/parser.c
==============================================================================
--- trunk/system-settings/plugins/ifcfg/parser.c        (original)
+++ trunk/system-settings/plugins/ifcfg/parser.c        Fri Jan 18 16:52:09 2008
@@ -98,7 +98,10 @@
                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;
 
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to