Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/dhcp/clientscript suppress printing the network set...



details:   https://anonhg.NetBSD.org/src/rev/560f2900a6f4
branches:  trunk
changeset: 570331:560f2900a6f4
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Oct 04 12:54:06 2004 +0000

description:
suppress printing the network settings so that dhclient -q is actually
quiet. the most useful network info is already printed by dhclient
itself in noisy mode.

diffstat:

 usr.sbin/dhcp/clientscript/dhclient-script |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (44 lines):

diff -r 4204812e5181 -r 560f2900a6f4 usr.sbin/dhcp/clientscript/dhclient-script
--- a/usr.sbin/dhcp/clientscript/dhclient-script        Mon Oct 04 11:23:39 2004 +0000
+++ b/usr.sbin/dhcp/clientscript/dhclient-script        Mon Oct 04 12:54:06 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: dhclient-script,v 1.5 2002/05/28 15:04:01 christos Exp $
+# $NetBSD: dhclient-script,v 1.6 2004/10/04 12:54:06 grant Exp $
 
 ENTERHOOKS=/etc/dhclient-enter-hooks
 EXITHOOKS=/etc/dhclient-exit-hooks
@@ -93,20 +93,20 @@
        fi
 fi
 
-if [ ! -z "$new_host_name" ]; then
-       echo New Host Name: $new_host_name
-fi
-
-if [ ! -z "$new_nis_domain" ]; then
-       echo New NIS Domain: $new_nis_domain
-fi
-
-if [ ! -z "$new_network_number" ]; then
-       echo New Network Number: $new_network_number
-fi
+#if [ ! -z "$new_host_name" ]; then
+#      echo New Host Name: $new_host_name
+#fi
+#
+#if [ ! -z "$new_nis_domain" ]; then
+#      echo New NIS Domain: $new_nis_domain
+#fi
+#
+#if [ ! -z "$new_network_number" ]; then
+#      echo New Network Number: $new_network_number
+#fi
 
 if [ ! -z "$new_broadcast_address" ]; then
-       echo New Broadcast Address: $new_broadcast_address
+#      echo New Broadcast Address: $new_broadcast_address
        new_broadcast_arg="broadcast $new_broadcast_address"
 fi
 



Home | Main Index | Thread Index | Old Index