mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 07:48:30 +02:00
2006-05-22 Robert Love <rml@novell.com>
* 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
This commit is contained in:
parent
acfed9816e
commit
628bc77f10
2 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-05-22 Robert Love <rml@novell.com>
|
||||
|
||||
* 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 <rml@novell.com>
|
||||
|
||||
* gnome/applet/applet.c: Zero out the icon pointers before we set them,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue