diff options
Diffstat (limited to 'rc/bin/inst/ndbsetup')
| -rwxr-xr-x | rc/bin/inst/ndbsetup | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
