From 32a45dd89e052b5b59f8cdde303861e41a0069d8 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 15 Sep 2005 16:09:28 +0000 Subject: Use sysctl -q when querying for kern.bootp_cookie in order to avoid printing boot-time errors that don't reflect true error conditions. MFC after: 1 week --- etc/rc.initdiskless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.initdiskless') diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 6234f6e..1b40f3b 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -191,7 +191,7 @@ if [ ${dlv:=0} -ne 0 ] ; then fi done # Get the values passed with the T134 bootp cookie. - class="`/sbin/sysctl -n kern.bootp_cookie`" + class="`/sbin/sysctl -qn kern.bootp_cookie`" echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca} ${class}" fi -- cgit v1.1