From 098e4d08321eea12bd152bf165c913900faaabf1 Mon Sep 17 00:00:00 2001 From: Conny Brunnkvist Date: Mon, 25 May 2009 13:00:01 -0700 Subject: Add "show configuration files". --- templates/show/configuration/files/node.def | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/show/configuration/files/node.def (limited to 'templates') 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) ;}' + + + + -- cgit v1.2.3