|
|
@ -81,7 +81,7 @@ dns_freedns_add() { |
|
|
|
i=0 |
|
|
|
found=0 |
|
|
|
while [ $i -lt $lines ]; do |
|
|
|
((i++)) |
|
|
|
i=$(_math $i + 1 ) |
|
|
|
line="$(echo "$subdomain_csv" | cut -d "$nl" -f $i)" |
|
|
|
tmp="$(echo "$line" | cut -d ',' -f 1)" |
|
|
|
if [ $found = 0 ] && _startswith "$tmp" "<td>$top_domain"; then |
|
|
@ -213,7 +213,7 @@ dns_freedns_rm() { |
|
|
|
i=0 |
|
|
|
found=0 |
|
|
|
while [ $i -lt $lines ]; do |
|
|
|
((i++)) |
|
|
|
i=$(_math $i + 1 ) |
|
|
|
line="$(echo "$subdomain_csv" | cut -d "$nl" -f $i)" |
|
|
|
dns_href="$(echo "$line" | cut -d ',' -f 2)" |
|
|
|
tmp=${dns_href#*>} |
|
|
|