From cd752a39f8b0b36378800740c0e5915beabfb56d Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 15 Aug 2018 21:39:30 +0200 Subject: ipv6 autoconfiguration on ethernet for ip autoconfiguration, setup ipv6 link local addresses and do SLAAC in parallel to DHCP. --- rc/bin/inst/ndbsetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc/bin/inst/ndbsetup') diff --git a/rc/bin/inst/ndbsetup b/rc/bin/inst/ndbsetup index 8c72076ef..076793d53 100755 --- a/rc/bin/inst/ndbsetup +++ b/rc/bin/inst/ndbsetup @@ -7,7 +7,7 @@ etheraddr=`{cat $netdev/addr >[2]/dev/null} switch($1){ case checkready checkdone - if(~ $#etheraddr 1 && ~ $netisfrom ether && ~ $ethermethod dhcp manual && \ + if(~ $#etheraddr 1 && ~ $netisfrom ether && ~ $ethermethod automatic manual && \ ! grep -s $etheraddr /n/newfs/lib/ndb/local) ndbsetup=ready if not @@ -33,7 +33,7 @@ case go echo switch($ethermethod){ - case dhcp + case automatic echo $se case manual echo $se 'ip='^$ipaddr 'ipmask='^$ipmask 'ipgw='^$gwaddr -- cgit v1.2.3