diff options
Diffstat (limited to 'rc/bin/termrc')
| -rwxr-xr-x | rc/bin/termrc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rc/bin/termrc b/rc/bin/termrc index f160915e6..656b6a77f 100755 --- a/rc/bin/termrc +++ b/rc/bin/termrc @@ -63,9 +63,13 @@ if(test -r /net/ipselftab){ addr=`{cat $ether/addr} switch($addr){ case $addrs - # try /lib/ndb first, then do dhcp - ip/ipconfig -N ether $ether >[2]/dev/null \ - || ip/ipconfig -h $sysname ether $ether + # try /lib/ndb first, then do dhcp/slaac + ip/ipconfig -6 ether $ether + ip/ipconfig -N ether $ether >[2]/dev/null || @{ + ip/ipconfig ether $ether ra6 recvra 1 & + ip/ipconfig -h $sysname ether $ether & + wait + } } } } |
