diff options
Diffstat (limited to 'templates/show/input-policy/adsl')
-rw-r--r-- | templates/show/input-policy/adsl/node.def | 2 | ||||
-rw-r--r-- | templates/show/input-policy/adsl/node.tag/node.def | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/show/input-policy/adsl/node.def b/templates/show/input-policy/adsl/node.def new file mode 100644 index 0000000..8a1cd8c --- /dev/null +++ b/templates/show/input-policy/adsl/node.def @@ -0,0 +1,2 @@ +help: Show adsl input-policy information +run: ${vyatta_bindir}/show-input-policy.pl --type=adsl diff --git a/templates/show/input-policy/adsl/node.tag/node.def b/templates/show/input-policy/adsl/node.tag/node.def new file mode 100644 index 0000000..af1473f --- /dev/null +++ b/templates/show/input-policy/adsl/node.tag/node.def @@ -0,0 +1,6 @@ +help: Show specified adsl interface information +allowed: + local -a array ; + array=( /sys/class/net/adsl* ) ; + echo -n ${array[@]##*/} +run: ${vyatta_bindir}/show-input-policy.pl "$4" |