2005-10-10 Dan Williams <dcbw@redhat.com>
* Remove nm_system_load_device_modules() from backend files and from NetworkManager.c git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1014 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2005-10-10 Dan Williams <dcbw@redhat.com>
|
||||||
|
|
||||||
|
* Remove nm_system_load_device_modules() from backend files
|
||||||
|
and from NetworkManager.c
|
||||||
|
|
||||||
2005-10-10 Dan Williams <dcbw@redhat.com>
|
2005-10-10 Dan Williams <dcbw@redhat.com>
|
||||||
|
|
||||||
* src/NetworkManagerPolicy.c
|
* src/NetworkManagerPolicy.c
|
||||||
|
@@ -887,14 +887,6 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
nm_system_init();
|
nm_system_init();
|
||||||
|
|
||||||
/* Load all network device kernel modules.
|
|
||||||
* NOTE: this hack is temporary until device modules get loaded
|
|
||||||
* on startup by something else. The problem is that unless
|
|
||||||
* the module is loaded, HAL doesn't know its a network device,
|
|
||||||
* and therefore can't tell us about it.
|
|
||||||
*/
|
|
||||||
nm_system_load_device_modules ();
|
|
||||||
|
|
||||||
/* Initialize our instance data */
|
/* Initialize our instance data */
|
||||||
nm_data = nm_data_new (enable_test_devices);
|
nm_data = nm_data_new (enable_test_devices);
|
||||||
if (!nm_data)
|
if (!nm_data)
|
||||||
|
@@ -51,7 +51,6 @@ void nm_system_delete_default_route (void);
|
|||||||
void nm_system_flush_arp_cache (void);
|
void nm_system_flush_arp_cache (void);
|
||||||
void nm_system_kill_all_dhcp_daemons (void);
|
void nm_system_kill_all_dhcp_daemons (void);
|
||||||
void nm_system_update_dns (void);
|
void nm_system_update_dns (void);
|
||||||
void nm_system_load_device_modules (void);
|
|
||||||
void nm_system_restart_mdns_responder (void);
|
void nm_system_restart_mdns_responder (void);
|
||||||
void nm_system_device_add_ip6_link_address (NMDevice *dev);
|
void nm_system_device_add_ip6_link_address (NMDevice *dev);
|
||||||
|
|
||||||
|
@@ -360,18 +360,6 @@ void nm_system_update_dns (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* nm_system_load_device_modules
|
|
||||||
*
|
|
||||||
* This is a null op - all our drivers should already be loaded.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void nm_system_load_device_modules (void)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nm_system_restart_mdns_responder
|
* nm_system_restart_mdns_responder
|
||||||
*
|
*
|
||||||
|
@@ -236,20 +236,6 @@ void nm_system_update_dns (void)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* nm_system_load_device_modules
|
|
||||||
*
|
|
||||||
* Loads any network adapter kernel modules, these should already be loaded
|
|
||||||
* by /etc/modules.autoload.d/kernel-2.x
|
|
||||||
*
|
|
||||||
* Gentoo should have all modules loaded.
|
|
||||||
*/
|
|
||||||
void nm_system_load_device_modules (void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nm_system_restart_mdns_responder
|
* nm_system_restart_mdns_responder
|
||||||
*
|
*
|
||||||
|
@@ -282,19 +282,6 @@ void nm_system_update_dns (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* nm_system_load_device_modules
|
|
||||||
*
|
|
||||||
* Load any network adapter kernel modules that we need to, since Fedora doesn't
|
|
||||||
* autoload them at this time.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void nm_system_load_device_modules (void)
|
|
||||||
{
|
|
||||||
nm_spawn_process ("/usr/bin/NMLoadModules");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nm_system_restart_mdns_responder
|
* nm_system_restart_mdns_responder
|
||||||
*
|
*
|
||||||
|
@@ -164,17 +164,6 @@ void nm_system_update_dns (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* nm_system_load_device_modules
|
|
||||||
*
|
|
||||||
* These should already be loaded
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void nm_system_load_device_modules (void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nm_system_restart_mdns_responder
|
* nm_system_restart_mdns_responder
|
||||||
*
|
*
|
||||||
|
@@ -275,17 +275,6 @@ void nm_system_update_dns (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* nm_system_load_device_modules
|
|
||||||
*
|
|
||||||
* Load any network adapter kernel modules that we need.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void nm_system_load_device_modules (void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nm_system_restart_mdns_responder
|
* nm_system_restart_mdns_responder
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user