shithub: riscv

Download patch

ref: 474df964241d6c844237a9625eae904ac61aedc4
parent: 191ab8a42b04d73c9b2bbec1e08f8547660494b3
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu Jun 9 03:46:51 EDT 2011

silence ipconfig -N

--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -34,7 +34,7 @@
 	ether=`{ndb/query sys $sysname ether}
 	if(~ $#ether 1){
 		# try /lib/ndb first, then do dhcp
-		ip/ipconfig -N || ip/ipconfig
+		ip/ipconfig -N >[2]/dev/null || ip/ipconfig
 	}
 	rm -f /env/ether
 }