summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-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>