diff options
Diffstat (limited to 'templates/delete')
-rw-r--r-- | templates/delete/file/node.def | 1 | ||||
-rw-r--r-- | templates/delete/file/node.tag/node.def | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/templates/delete/file/node.def b/templates/delete/file/node.def deleted file mode 100644 index 92c8f6c..0000000 --- a/templates/delete/file/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Delete files in a particular image diff --git a/templates/delete/file/node.tag/node.def b/templates/delete/file/node.tag/node.def deleted file mode 100644 index 0faf383..0000000 --- a/templates/delete/file/node.tag/node.def +++ /dev/null @@ -1,10 +0,0 @@ -help: Delete files in the specified directory -comptype: imagefiles -allowed: echo -n "<imagefiles>" -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - sudo ${vyatta_sbindir}/vyatta-image-tools.pl --delete=$3 - else - echo Must be an admin user to run this command. - fi - |