diff options
-rwxr-xr-x | rc/bin/inst/ndbsetup | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rc/bin/inst/ndbsetup b/rc/bin/inst/ndbsetup index fecf4aed2..ad795d9e5 100755 --- a/rc/bin/inst/ndbsetup +++ b/rc/bin/inst/ndbsetup @@ -25,7 +25,10 @@ case go prompt $default 'sysname' sysname=$rd + cp /n/newfs/lib/ndb/local /tmp/ndb.local { + ssam 'x/^.*ether='^$etheraddr^'.*$/ d' /tmp/ndb.local + echo switch($ethermethod){ case dhcp @@ -36,5 +39,5 @@ case go 'ip='^$ipaddr 'ipmask='^$ipmask 'ipgw='^$gwaddr } echo - } >>/n/newfs/lib/ndb/local + } >/n/newfs/lib/ndb/local } |