2006-03-27 Robert Love <rml@novell.com>

* src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
	  restart, not reload, ypbind.  Unfortunately there is no superior
	  solution.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1639 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love
2006-03-27 15:05:05 +00:00
committed by Robert Love
parent 93ae9b586d
commit d64140a66d
2 changed files with 13 additions and 2 deletions

View File

@@ -1139,8 +1139,8 @@ void nm_system_activate_nis (NMIP4Config *config)
if (stat ("/usr/sbin/rcypbind", &sb) != -1)
{
nm_info ("Asking ypbind to reload its configuration.");
nm_spawn_process ("/usr/sbin/rcypbind reload");
nm_info ("Restarting ypbind.");
nm_spawn_process ("/usr/sbin/rcypbind restart");
}
if (stat ("/usr/sbin/rcautofs", &sb) != -1)
{
@@ -1168,6 +1168,11 @@ void nm_system_shutdown_nis (void)
{
struct stat sb;
if (stat ("/usr/sbin/rcypbind", &sb) != -1)
{
nm_info ("Stopping ypbind.");
nm_spawn_process ("/usr/sbin/rcypbind stop");
}
if (stat ("/usr/sbin/rcautofs", &sb) != -1)
{
nm_info ("Restarting autofs.");