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

* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
	  signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
	  it, in case it is not running in the first place.  We just want its
	  configuration reloaded.  Also, do not "rcypbind stop" on device down.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1615 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love
2006-03-17 18:37:46 +00:00
committed by Robert Love
parent ebee615101
commit 1a1cda1129
3 changed files with 9 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
it, in case it is not running in the first place. We just want its
configuration reloaded.
configuration reloaded. Also, do not "rcypbind stop" on device down.
2006-03-15 Robert Love <rml@novell.com>

View File

@@ -1141,11 +1141,6 @@ 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.");

View File

@@ -35,16 +35,22 @@ struct NMIP4Config
{
guint refcount;
guint32 ip4_address;
guint32 ip4_address;src/backends/NetworkManagrerSuSE.c
guint32 ip4_ptp_address;
guint32 ip4_gateway;
guint32 ip4_netmask;guint refcount;
guint32 ip4_address;src/backends/NetworkManagrerSuSE.c
guint32 ip4_ptp_address;
guint32 ip4_gateway;
guint32 ip4_netmask;
guint32 ip4_broadcast;
GSList * nameservers;
GSList * domains;
gchar * hostname;
gchar * hostname;
gchar * nis_domain;
GSList * nis_servers;