# | Line 11 | Line 11 | |
---|---|---|
11 | ||
12 | case $reason in | |
13 | BOUND|RENEW|REBIND|REBOOT) | |
14 | < | if [ "$old_ip_address" != "$new_ip_address" ]; then |
15 | < | nsupdate -d <<-EOF |
16 | < | key $key $secret |
17 | < | update delete $hostname A |
18 | < | update add $hostname 3600 A $new_ip_address |
19 | < | send |
20 | < | EOF |
21 | < | fi |
14 | > | nsupdate -d <<-EOF |
15 | > | key $key $secret |
16 | > | update delete $hostname A |
17 | > | update add $hostname 3600 A $new_ip_address |
18 | > | send |
19 | > | EOF |
20 | ;; | |
21 | esac |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |