shithub: riscv

Download patch

ref: 2f5983ba02cfa2719457d6a35f5ec9109c730660
parent: 8d9f3906fa94676f4e788a9668991b815b4f5542
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Mar 27 10:17:51 EDT 2019

bootrc: handle automatic ip configuration on gbe media

--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -15,7 +15,7 @@
 		}
 	}
 
-	if(~ $1 ether && ~ $#* 2) @{
+	if(~ $1 ether || ~ $1 gbe && ~ $#* 2) @{
 		ip/ipconfig -6 $*
 		test -e /env/nora6 || ip/ipconfig $* ra6 recvra 1 &
 		ip/ipconfig -p $* &