ref: 72a31a886a6891c575a5deb7135f19e86cc35fba
parent: 8413bd538df471c35bcc53d7e7689e7b11c63919
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 17 02:08:06 EDT 2014
boot: dont print errors if ethernet has no ifstats file, can happen with usb ethernet
--- a/sys/src/9/boot/net.rc
+++ b/sys/src/9/boot/net.rc
@@ -10,7 +10,7 @@
# setup wifi encryption if any
if(~ $1 ether && ~ $service terminal && test -x /bin/aux/wpa){- if(grep -s '^status: need authentication' $2/ifstats){+ if(grep -s '^status: need authentication' $2/ifstats >[2]/dev/null){aux/wpa -p $2
}
}
--
⑨