diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-11-21 11:28:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 11:28:03 +0000 |
commit | b91aaed8eb0953e0217ff37005bb8c47e2b05685 (patch) | |
tree | 2212f4a0c83a7be1393f05dd68be6ca0ead11909 | |
parent | df0ef8a25f8f431ed9216b307f817a25d280acd8 (diff) | |
parent | eceb410fd5e7f74b1e0655bc60ce5b7e34fb422f (diff) | |
download | vyos-1x-b91aaed8eb0953e0217ff37005bb8c47e2b05685.tar.gz vyos-1x-b91aaed8eb0953e0217ff37005bb8c47e2b05685.zip |
Merge pull request #4202 from jestabro/drop-legacy-show-configuration-files
op-mode: T6900: remove uninformative 'show configuration files'
-rw-r--r-- | op-mode-definitions/show-configuration.xml.in | 7 | ||||
-rwxr-xr-x | src/op_mode/show_configuration_files.sh | 10 |
2 files changed, 0 insertions, 17 deletions
diff --git a/op-mode-definitions/show-configuration.xml.in b/op-mode-definitions/show-configuration.xml.in index 5a2fdedfa..7ec718890 100644 --- a/op-mode-definitions/show-configuration.xml.in +++ b/op-mode-definitions/show-configuration.xml.in @@ -23,13 +23,6 @@ <!-- no admin check --> <command>cli-shell-api showCfg --show-active-only | vyos-config-to-commands</command> </node> - <node name="files"> - <properties> - <help> Show available saved configurations </help> - </properties> - <!-- no admin check --> - <command>${vyos_op_scripts_dir}/show_configuration_files.sh</command> - </node> <node name="json"> <properties> <help>Show running configuration in JSON format</help> diff --git a/src/op_mode/show_configuration_files.sh b/src/op_mode/show_configuration_files.sh deleted file mode 100755 index ad8e0747c..000000000 --- a/src/op_mode/show_configuration_files.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/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) ;}' |