From 1a1cda1129505f630c0450a2e00b25ec321de342 Mon Sep 17 00:00:00 2001 From: Robert Love Date: Fri, 17 Mar 2006 18:37:46 +0000 Subject: [PATCH] 2006-03-17 Robert Love * 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 --- ChangeLog | 2 +- src/backends/NetworkManagerSuSE.c | 5 ----- src/nm-ip4-config.c | 10 ++++++++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 174222fd94..05beee6520 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/backends/NetworkManagerSuSE.c b/src/backends/NetworkManagerSuSE.c index bc376ef1ff..02be891405 100644 --- a/src/backends/NetworkManagerSuSE.c +++ b/src/backends/NetworkManagerSuSE.c @@ -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."); diff --git a/src/nm-ip4-config.c b/src/nm-ip4-config.c index da91e92c9c..024707386f 100644 --- a/src/nm-ip4-config.c +++ b/src/nm-ip4-config.c @@ -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;