diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-15 21:39:30 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-15 21:39:30 +0200 |
commit | cd752a39f8b0b36378800740c0e5915beabfb56d (patch) | |
tree | b1c2b1c531321704e49928e0771dac90badef186 /rc/bin/inst/startether | |
parent | ab4c0a012f4b57e9a9a2c084097c919a40029380 (diff) |
ipv6 autoconfiguration on ethernet
for ip autoconfiguration, setup ipv6 link local addresses
and do SLAAC in parallel to DHCP.
Diffstat (limited to 'rc/bin/inst/startether')
-rwxr-xr-x | rc/bin/inst/startether | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rc/bin/inst/startether b/rc/bin/inst/startether index cb38e6dbd..7544378ed 100755 --- a/rc/bin/inst/startether +++ b/rc/bin/inst/startether @@ -15,11 +15,16 @@ case go exit log starting ethernet $ethermethod config + ip/ipconfig -6 switch($ethermethod) { case manual ip/ipconfig -g $gwaddr ether $netdev $ipaddr $ipmask >>[2]/srv/log - case dhcp - ip/ipconfig >>[2]/srv/log + case automatic + >>[2]/srv/log @{ + ip/ipconfig ra6 recva 1 & + ip/ipconfig & + wait + } } case checkdone |