summaryrefslogtreecommitdiff
path: root/templates/delete
diff options
context:
space:
mode:
authorerkin <me@erkin.party>2023-11-20 06:16:03 +0300
committererkin <me@erkin.party>2024-01-17 12:44:37 +0300
commit6e94def372856437d6e2fd6252ae272cc502c87e (patch)
tree17440fdd9ee9714dea7ad840aeff82a12a794e83 /templates/delete
parent58e5b6cd712802d411ffc2be880bc55d9f610f4a (diff)
downloadvyatta-op-6e94def372856437d6e2fd6252ae272cc502c87e.tar.gz
vyatta-op-6e94def372856437d6e2fd6252ae272cc502c87e.zip
op-mode: T4038: Remove legacy `vyatta-image-tools.pl`
Diffstat (limited to 'templates/delete')
-rw-r--r--templates/delete/file/node.def1
-rw-r--r--templates/delete/file/node.tag/node.def10
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
-