Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F119897100
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
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
@@ -1,52 +1,45 @@
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="configuration">
<properties>
<help>Show available saved configurations</help>
</properties>
<!-- no admin check -->
<command>cli-shell-api showCfg --show-active-only --show-hide-secrets</command>
<children>
<node name="all">
<properties>
<help>Show running configuration (including default values)</help>
</properties>
<!-- no admin check -->
<command>cli-shell-api showCfg --show-show-defaults --show-active-only --show-hide-secrets</command>
</node>
<node name="commands">
<properties>
<help> Show running configuration as set commands </help>
</properties>
<!-- 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>
</properties>
<!-- no admin check -->
<command>${vyos_op_scripts_dir}/show_configuration_json.py</command>
<children>
<node name="pretty">
<properties>
<help>Show running configuration in readable JSON format</help>
</properties>
<command>${vyos_op_scripts_dir}/show_configuration_json.py --pretty</command>
</node>
</children>
</node>
</children>
</node>
</children>
</node>
</interfaceDefinition>
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) ;}'
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 26, 8:09 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4973936
Default Alt Text
(2 KB)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment