diff options
author | Runar Borge <runar@borge.nu> | 2018-06-08 09:47:59 +0200 |
---|---|---|
committer | Runar Borge <runar@borge.nu> | 2018-06-08 09:47:59 +0200 |
commit | 3399149b8b07fa74229939bc64a3e573191b237b (patch) | |
tree | 2fdff472b62b4860eedf7b5acf36961c7ccd804d | |
parent | f1568230e946f2c0c2b364d8313a4c0563cdd926 (diff) | |
download | vyos-1x-3399149b8b07fa74229939bc64a3e573191b237b.tar.gz vyos-1x-3399149b8b07fa74229939bc64a3e573191b237b.zip |
T689: Added missing show-configuration-files.sh wrappwe script
-rwxr-xr-x | src/op_mode/show-configuration-files.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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) ;}' |