diff options
Diffstat (limited to 'templates/show/files')
-rw-r--r-- | templates/show/files/node.def | 2 | ||||
-rw-r--r-- | templates/show/files/node.tag/node.def | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/show/files/node.def b/templates/show/files/node.def index 7f9efd0..a6c408d 100644 --- a/templates/show/files/node.def +++ b/templates/show/files/node.def @@ -1 +1 @@ -help: Show file information +help: Show files for a particular image diff --git a/templates/show/files/node.tag/node.def b/templates/show/files/node.tag/node.def index 0448ad4..7e205da 100644 --- a/templates/show/files/node.tag/node.def +++ b/templates/show/files/node.tag/node.def @@ -1,3 +1,4 @@ help: Show files in the specified directory -allowed: echo -n '<pathname>' -run: ls -lh "$3" +comptype: imagefiles +allowed: echo -n "<imagefiles>" +run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --show=$3 |