summaryrefslogtreecommitdiff
path: root/sys/src/9/boot
diff options
context:
space:
mode:
authorBurnZeZ <devnull@localhost>2019-03-30 15:09:00 +0000
committerBurnZeZ <devnull@localhost>2019-03-30 15:09:00 +0000
commit3f1fefeafbb90309b712d70144a4a95874d48a56 (patch)
tree6b4632b18d6a533c30c20332018daad20aab44bd /sys/src/9/boot
parent4f0bfe0fb8dc608a94fe429c5ddb12e58997e1ce (diff)
bootrc: simplify if statement
Diffstat (limited to 'sys/src/9/boot')
-rwxr-xr-xsys/src/9/boot/net.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/boot/net.rc b/sys/src/9/boot/net.rc
index 362716f57..1a194dd84 100755
--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -15,7 +15,7 @@ fn confignet{
}
}
- 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 $* &