summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-23 15:54:53 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-23 15:54:55 +0100
commit47cdcc9f7be06c81829dff4b99a4a5c7ab054082 (patch)
tree2b12d4bc01d82bc54ebb53c9ec79a9e196a402bc
parent52e20fa562968dcfd7b524031f0cad2b6f4fff57 (diff)
downloadvyos-1x-47cdcc9f7be06c81829dff4b99a4a5c7ab054082.tar.gz
vyos-1x-47cdcc9f7be06c81829dff4b99a4a5c7ab054082.zip
op-mode: move 'show system-integrity' to 'show system integrity'
Change is done b/c it is super annoying when tab-completing with system tree and you are permanently hanging in there due to system-integrity.
-rw-r--r--op-mode-definitions/show-system-info.xml7
-rw-r--r--op-mode-definitions/show-systemintegrity.xml14
2 files changed, 7 insertions, 14 deletions
diff --git a/op-mode-definitions/show-system-info.xml b/op-mode-definitions/show-system-info.xml
index ade3829f2..61c947bbe 100644
--- a/op-mode-definitions/show-system-info.xml
+++ b/op-mode-definitions/show-system-info.xml
@@ -51,6 +51,13 @@
</children>
</node>
+ <leafNode name= "integrity">
+ <properties>
+ <help>Checks overall system integrity</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/system_integrity.py</command>
+ </leafNode>
+
<leafNode name="kernel-messages">
<properties>
<help>Show messages in kernel ring buffer</help>
diff --git a/op-mode-definitions/show-systemintegrity.xml b/op-mode-definitions/show-systemintegrity.xml
deleted file mode 100644
index 44b5faf68..000000000
--- a/op-mode-definitions/show-systemintegrity.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-
-<interfaceDefinition>
- <node name="show">
- <children>
- <leafNode name= "system-integrity">
- <properties>
- <help>checks the integrity of the system</help>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/system_integrity.py</command>
- </leafNode>
- </children>
- </node>
-</interfaceDefinition>