shithub: riscv

Download patch

ref: 3f1fefeafbb90309b712d70144a4a95874d48a56
parent: 4f0bfe0fb8dc608a94fe429c5ddb12e58997e1ce
author: BurnZeZ <devnull@localhost>
date: Sat Mar 30 11:09:00 EDT 2019

bootrc: simplify if statement

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