From e3c0c034ba56d4f7942845eccffc299aea61596d Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 19 Jun 2021 00:00:26 +0000 Subject: [PATCH] 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 --- distrib/miniroot/install.sub | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index e0bea7ebb61b..beb4cbb6f79b 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -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 @@ fi echo "" if [ "${_resolver_enabled:-FALSE}" = "TRUE" ]; then - netstat -r - echo "" echo "Resolver enabled." else - netstat -rn - echo "" echo "Resolver not enabled." fi