Commit eae50c78 authored by Dan Williams's avatar Dan Williams
Browse files

2005-02-27 Dan Williams <dcbw@redhat.com>

	* src/backends/NetworkManagerRedHat.c
		- (nm_system_init): Kill any dhclient processes lying around as well
			as stopping 'nifd' if its already been started.  NetworkManager
			subsumes the functions of nifd (kicking mDNSResponder, autoip)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@479 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 16b24696
2005-02-27 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerRedHat.c
- (nm_system_init): Kill any dhclient processes lying around as well
as stopping 'nifd' if its already been started. NetworkManager
subsumes the functions of nifd (kicking mDNSResponder, autoip)
2005-02-27 Dan Williams <dcbw@redhat.com> 2005-02-27 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.c * panel-applet/NMWirelessApplet.c
......
...@@ -36,6 +36,12 @@ ...@@ -36,6 +36,12 @@
*/ */
void nm_system_init (void) void nm_system_init (void)
{ {
/* Kill any dhclients lying around */
nm_system_kill_all_dhcp_daemons ();
/* Stop nifd since we respawn mDNSResponder ourselves */
if (nm_spawn_process ("/etc/init.d/nifd status") != 0)
nm_spawn_process ("/etc/init.d/nifd stop");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment