bootrc: keep original address when ndb/dnsgetip fails and let dial complain
This commit is contained in:
parent
d4076731f1
commit
aa2422b5eb
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ fn confignet{
|
|||
# resolve dns names
|
||||
if(test -x /bin/ndb/dnsgetip){
|
||||
for(i in fs auth secstore){
|
||||
$i=`{for(x in $$i) ndb/dnsgetip -a $x}
|
||||
x=`{for(x in $$i) ndb/dnsgetip -a $x}
|
||||
~ $#x 0 || $i=$x
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue