diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-01 11:45:52 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-01 11:45:52 -0800 |
commit | e07be3db929777506ad98e3e550f943878f122db (patch) | |
tree | 3c82cc79c64f68f40148266608c9970f1d86a226 | |
parent | 2df1cf3efa49ea18aebd72c543b6e0a4f1999aab (diff) | |
download | vyatta-op-e07be3db929777506ad98e3e550f943878f122db.tar.gz vyatta-op-e07be3db929777506ad98e3e550f943878f122db.zip |
Change 'show dhcp client' to 'show dhcp client leases'
-rw-r--r-- | templates/show/dhcp/client/leases/interface/node.def (renamed from templates/show/dhcp/client/interface/node.def) | 0 | ||||
-rw-r--r-- | templates/show/dhcp/client/leases/interface/node.tag/node.def (renamed from templates/show/dhcp/client/interface/node.tag/node.def) | 2 | ||||
-rw-r--r-- | templates/show/dhcp/client/leases/node.def | 2 | ||||
-rw-r--r-- | templates/show/dhcp/client/node.def | 1 |
4 files changed, 3 insertions, 2 deletions
diff --git a/templates/show/dhcp/client/interface/node.def b/templates/show/dhcp/client/leases/interface/node.def index 458e0ec..458e0ec 100644 --- a/templates/show/dhcp/client/interface/node.def +++ b/templates/show/dhcp/client/leases/interface/node.def diff --git a/templates/show/dhcp/client/interface/node.tag/node.def b/templates/show/dhcp/client/leases/interface/node.tag/node.def index 03fd1d9..2445d0b 100644 --- a/templates/show/dhcp/client/interface/node.tag/node.def +++ b/templates/show/dhcp/client/leases/interface/node.tag/node.def @@ -2,4 +2,4 @@ help: Show dhcp client information for interface allowed: local -a array ; array=( /sys/class/net/eth* ) ; echo -n ${array[@]##*/} -run: /opt/vyatta/bin/vyatta-show-dhclient.pl $5 +run: /opt/vyatta/bin/vyatta-show-dhclient.pl $6 diff --git a/templates/show/dhcp/client/leases/node.def b/templates/show/dhcp/client/leases/node.def new file mode 100644 index 0000000..16bef4d --- /dev/null +++ b/templates/show/dhcp/client/leases/node.def @@ -0,0 +1,2 @@ +help: Show dhcp client leases +run: /opt/vyatta/bin/vyatta-show-dhclient.pl diff --git a/templates/show/dhcp/client/node.def b/templates/show/dhcp/client/node.def index e94212f..874c579 100644 --- a/templates/show/dhcp/client/node.def +++ b/templates/show/dhcp/client/node.def @@ -1,2 +1 @@ help: Show dhcp client information -run: /opt/vyatta/bin/vyatta-show-dhclient.pl |