From ef15a3760a1d66543b8bda773748a78c8c05e99b Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Sat, 23 Jun 2018 23:32:47 +0200 Subject: T689: changed from dash to underscore in filenames --- 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