summaryrefslogtreecommitdiff
path: root/templates/show/tech-support/private/save-uncompressed/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-24 13:20:39 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-24 13:20:39 +0200
commit997291b8a6a66953c6a6270c2dda323769452581 (patch)
treeda24c0099caede14445289dca8d76560c08de1d9 /templates/show/tech-support/private/save-uncompressed/node.def
parent3610a467094e80a39b6627f6b7655430917b9bd3 (diff)
parentadd153b13de56f97624b2dc433fdbe21b36dbeed (diff)
downloadvyatta-op-997291b8a6a66953c6a6270c2dda323769452581.tar.gz
vyatta-op-997291b8a6a66953c6a6270c2dda323769452581.zip
Merge branch 'current' into lithiumlithium
Conflicts: Makefile.am debian/changelog templates/restart/dns/forwarding/node.def templates/show/version/added/node.def templates/show/version/all/node.def templates/show/version/deleted/node.def templates/show/version/downgraded/node.def templates/show/version/node.def templates/show/version/upgraded/node.def
Diffstat (limited to 'templates/show/tech-support/private/save-uncompressed/node.def')
-rw-r--r--templates/show/tech-support/private/save-uncompressed/node.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/show/tech-support/private/save-uncompressed/node.def b/templates/show/tech-support/private/save-uncompressed/node.def
new file mode 100644
index 0000000..424e78a
--- /dev/null
+++ b/templates/show/tech-support/private/save-uncompressed/node.def
@@ -0,0 +1,7 @@
+help: Save consolidated tech-support report uncompressed (contains private information)
+run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];
+ then
+ source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed
+ else
+ echo Must be an admin user to run this command.
+ fi