From 7e5b2d590d663c40b6d1a1c4a370b0c0bb770f8c Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sun, 7 Sep 2008 04:15:58 +0000 Subject: add code for op-mode Dynamic DNS commands --- templates/update/dns/dynamic/interface/node.def | 1 + templates/update/dns/dynamic/interface/node.tag/node.def | 6 ++++++ templates/update/dns/dynamic/node.def | 1 + templates/update/dns/node.def | 1 + 4 files changed, 9 insertions(+) create mode 100644 templates/update/dns/dynamic/interface/node.def create mode 100644 templates/update/dns/dynamic/interface/node.tag/node.def create mode 100644 templates/update/dns/dynamic/node.def create mode 100644 templates/update/dns/node.def (limited to 'templates/update/dns') diff --git a/templates/update/dns/dynamic/interface/node.def b/templates/update/dns/dynamic/interface/node.def new file mode 100644 index 0000000..c0ef660 --- /dev/null +++ b/templates/update/dns/dynamic/interface/node.def @@ -0,0 +1 @@ +help: Update Dynamic DNS for specified interface diff --git a/templates/update/dns/dynamic/interface/node.tag/node.def b/templates/update/dns/dynamic/interface/node.tag/node.def new file mode 100644 index 0000000..60fb67d --- /dev/null +++ b/templates/update/dns/dynamic/interface/node.tag/node.def @@ -0,0 +1,6 @@ +help: Update Dynamic DNS for specified interface +allowed: + sudo /opt/vyatta/bin/sudo-users/vyatta-op-dynamic-dns.pl --show-interfaces +run: + IFNAME=${5} + sudo /opt/vyatta/bin/sudo-users/vyatta-op-dynamic-dns.pl --update-ddns --interface "$IFNAME" diff --git a/templates/update/dns/dynamic/node.def b/templates/update/dns/dynamic/node.def new file mode 100644 index 0000000..447fcb5 --- /dev/null +++ b/templates/update/dns/dynamic/node.def @@ -0,0 +1 @@ +help: Update Dynamic DNS information diff --git a/templates/update/dns/node.def b/templates/update/dns/node.def new file mode 100644 index 0000000..b8217f6 --- /dev/null +++ b/templates/update/dns/node.def @@ -0,0 +1 @@ +help: Update DNS information -- cgit v1.2.3