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