2008-05-09 Jim.Li <
[email protected]>
* patches/system-tools-backends-04-network.diff: Fix for Bug#6624038
restart nis/client after down network adapter.
--- a/ChangeLog Thu May 08 15:45:15 2008 +0000
+++ b/ChangeLog Fri May 09 06:36:33 2008 +0000
@@ -1,3 +1,8 @@
+2008-05-09 Jim.Li <[email protected]>
+
+ * patches/system-tools-backends-04-network.diff: Fix for Bug#6624038
+ restart nis/client after down network adapter.
+
2008-05-08 Damien Carbery <[email protected]>
* patches/SUNWtgnome-xagent-01-trusted-extensions.diff: Rework after
--- a/patches/system-tools-backends-04-network.diff Thu May 08 15:45:15 2008 +0000
+++ b/patches/system-tools-backends-04-network.diff Fri May 09 06:36:33 2008 +0000
@@ -1,5 +1,5 @@
--- system-tools-backends-1.4.2.orig/network-conf.in Mon Jan 2 23:32:33 2006
-+++ system-tools-backends-1.4.2/network-conf.in Fri Dec 14 16:00:43 2007
++++ system-tools-backends-1.4.2/network-conf.in Fri May 9 13:35:47 2008
@@ -77,7 +77,8 @@
"vine-3.0", "vine-3.1",
"ark",
@@ -10,6 +10,17 @@
$description =<<"end_of_description;";
Configures all network parameters and interfaces.
+@@ -527,6 +528,10 @@
+ if ($enabled == 0)
+ {
+ gst_file_run ("ifconfig $iface down");
++ if ($$tool{"system"} eq "SunOS")
++ {
++ gst_file_run ("svcadm restart svc:/network/nis/client");
++ }
+ &drop_dhcp_connection ($iface);
+ &drop_pppd_connection ($iface);
+ }
--- system-tools-backends-1.4.2/network.pl.in-clean 2006-01-02 15:50:54.000000000 +0000
+++ system-tools-backends-1.4.2/network.pl.in 2008-04-16 15:06:28.967577874 +0100
@@ -28,8 +28,10 @@