From 668bfe342afccb6f1c1288c1d6ae3a65167ffa40 Mon Sep 17 00:00:00 2001 From: Deepti Kulkarni Date: Fri, 23 Jul 2010 18:19:16 +0000 Subject: Adding 'generate tech-support archive'command (cherry picked from commit 7d4d9c74b8105a27cc54f55ddb98ea90112e13c6) --- templates/generate/node.def | 1 + templates/generate/tech-support/archive/node.def | 2 ++ templates/generate/tech-support/archive/node.tag/node.def | 4 ++++ templates/generate/tech-support/node.def | 1 + 4 files changed, 8 insertions(+) create mode 100644 templates/generate/node.def create mode 100644 templates/generate/tech-support/archive/node.def create mode 100644 templates/generate/tech-support/archive/node.tag/node.def create mode 100644 templates/generate/tech-support/node.def (limited to 'templates/generate') diff --git a/templates/generate/node.def b/templates/generate/node.def new file mode 100644 index 0000000..4acc647 --- /dev/null +++ b/templates/generate/node.def @@ -0,0 +1 @@ +help: Generate tech-support archival. diff --git a/templates/generate/tech-support/archive/node.def b/templates/generate/tech-support/archive/node.def new file mode 100644 index 0000000..68a5a2c --- /dev/null +++ b/templates/generate/tech-support/archive/node.def @@ -0,0 +1,2 @@ +help: Generate tech-support archival at the specified path. +run: ${vyatta_bindir}/tech-support-archive diff --git a/templates/generate/tech-support/archive/node.tag/node.def b/templates/generate/tech-support/archive/node.tag/node.def new file mode 100644 index 0000000..c6384ec --- /dev/null +++ b/templates/generate/tech-support/archive/node.tag/node.def @@ -0,0 +1,4 @@ +help: Generate ecompressed tech-support archival at the specificed path. +allowed: echo -n ' :@/> :@/>' +run: ${vyatta_bindir}/tech-support-archive "$4" + diff --git a/templates/generate/tech-support/node.def b/templates/generate/tech-support/node.def new file mode 100644 index 0000000..b916eaa --- /dev/null +++ b/templates/generate/tech-support/node.def @@ -0,0 +1 @@ +help: Generate tech-support archival for escalations. -- cgit v1.2.3