summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorConny Brunnkvist <conny@fuchsia.se>2009-05-25 13:00:01 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-05-25 13:00:01 -0700
commit098e4d08321eea12bd152bf165c913900faaabf1 (patch)
treedb90b426addf3cbbb827bebc47223f40d56cbc49 /templates
parent558368d527e56a2fd76415ed2d94d0dc5e12f422 (diff)
downloadvyatta-op-098e4d08321eea12bd152bf165c913900faaabf1.tar.gz
vyatta-op-098e4d08321eea12bd152bf165c913900faaabf1.zip
Add "show configuration files".
Diffstat (limited to 'templates')
-rw-r--r--templates/show/configuration/files/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/configuration/files/node.def b/templates/show/configuration/files/node.def
new file mode 100644
index 0000000..b13bc6d
--- /dev/null
+++ b/templates/show/configuration/files/node.def
@@ -0,0 +1,6 @@
+help: Show available saved configurations
+run: find ${vyatta_sysconfdir}/config/ -type f -not -name ".*" -not -name "config.boot.*" -printf "%f\t(%Tc)\t%T@\n" | sort -r -k3 | awk -F"\t" '{printf ("%-20s\t%s\n", $1,$2) ;}'
+
+
+
+