Revision: | 935 |
Committed: | 2007-07-03T23:09:59-07:00 (17 years, 11 months ago) by douglas |
File size: | 270 byte(s) |
Log Message: | Hmm... |
# | Content |
---|---|
1 | #!/bin/sh |
2 | # DHCP Client Exit Hooks |
3 | # |
4 | # Douglas Thrift |
5 | # |
6 | # $Id$ |
7 | |
8 | %%key%% |
9 | %%secret%% |
10 | %%hostname%% |
11 | |
12 | case $reason in |
13 | BOUND|RENEW|REBIND|REBOOT) |
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 |
Name | Value |
---|---|
svn:keywords | Id |