From 3399149b8b07fa74229939bc64a3e573191b237b Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Fri, 8 Jun 2018 09:47:59 +0200 Subject: T689: Added missing show-configuration-files.sh wrappwe script --- src/op_mode/show-configuration-files.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 src/op_mode/show-configuration-files.sh (limited to 'src/op_mode/show-configuration-files.sh') diff --git a/src/op_mode/show-configuration-files.sh b/src/op_mode/show-configuration-files.sh new file mode 100755 index 000000000..ad8e0747c --- /dev/null +++ b/src/op_mode/show-configuration-files.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Wrapper script for the show configuration files command +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