Source-Changes-HG archive

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

[src/trunk]: src/distrib/miniroot Remove netstat(1) calls to print resolver i...



details:   https://anonhg.NetBSD.org/src/rev/06e953647028
branches:  trunk
changeset: 1021803:06e953647028
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 19 00:00:26 2021 +0000

description:
Remove netstat(1) calls to print resolver info on upgrade using miniroot.

netstat(1) was removed from miniroot 25 years ago.
 http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

diffstat:

 distrib/miniroot/install.sub |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r 94a98744288d -r 06e953647028 distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub      Fri Jun 18 23:55:20 2021 +0000
+++ b/distrib/miniroot/install.sub      Sat Jun 19 00:00:26 2021 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: install.sub,v 1.60 2021/05/29 23:46:14 tsutsui Exp $
+#      $NetBSD: install.sub,v 1.61 2021/06/19 00:00:26 tsutsui Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -606,12 +606,8 @@
        echo    ""
 
        if [ "${_resolver_enabled:-FALSE}" = "TRUE" ]; then
-               netstat -r
-               echo    ""
                echo    "Resolver enabled."
        else
-               netstat -rn
-               echo    ""
                echo    "Resolver not enabled."
        fi
 



Home | Main Index | Thread Index | Old Index