From 628bc77f10e8aa1e8ae1515336081f00d179477f Mon Sep 17 00:00:00 2001 From: Robert Love Date: Mon, 22 May 2006 15:24:04 +0000 Subject: [PATCH] 2006-05-22 Robert Love * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and autofs on interface up if NIS is configured. On interface down, do nothing. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1756 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 6 ++++++ src/backends/NetworkManagerSuSE.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 23ce505530..d44080b1c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-22 Robert Love + + * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and + autofs on interface up if NIS is configured. On interface down, do + nothing. + 2006-05-22 Robert Love * gnome/applet/applet.c: Zero out the icon pointers before we set them, diff --git a/src/backends/NetworkManagerSuSE.c b/src/backends/NetworkManagerSuSE.c index f81c08f4c7..1bad8a626e 100644 --- a/src/backends/NetworkManagerSuSE.c +++ b/src/backends/NetworkManagerSuSE.c @@ -1142,12 +1142,12 @@ void nm_system_activate_nis (NMIP4Config *config) if (stat ("/usr/sbin/rcypbind", &sb) != -1) { nm_info ("Restarting ypbind."); - nm_spawn_process ("/usr/sbin/rcypbind restart"); + nm_spawn_process ("/usr/sbin/rcypbind reload"); } if (stat ("/usr/sbin/rcautofs", &sb) != -1) { nm_info ("Restarting autofs."); - nm_spawn_process ("/usr/sbin/rcautofs restart"); + nm_spawn_process ("/usr/sbin/rcautofs reload"); } } } @@ -1168,6 +1168,7 @@ out_gfree: */ void nm_system_shutdown_nis (void) { +#if 0 /* XXX: let's not touch NIS, for now; probably need to make this a configurable option */ char *name, *buf = NULL; shvarFile *file; @@ -1201,6 +1202,7 @@ out_close: svCloseFile (file); out_gfree: g_free (name); +#endif }