NetworkManager r3247 - in trunk: . system-settings/plugins/ifcfg



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  <dcbw redhat com>

	* 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]