summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-05 01:10:36 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-05 01:10:36 +0100
commit7713fb958f606672804789ff431aa1f691ef4a46 (patch)
treec19972185118dfa2c8d2f76974a86e1d44feb7d5 /op-mode-definitions
parentaf3a5142dce9fb3d6f3fecdbccfd1cae23b31c62 (diff)
parentd6c39f624a2ced96015d1e915d90e80acda3babb (diff)
downloadvyos-1x-7713fb958f606672804789ff431aa1f691ef4a46.tar.gz
vyos-1x-7713fb958f606672804789ff431aa1f691ef4a46.zip
Merge branch 'current' of https://github.com/vyos/vyos-1x into current
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-systemintegrity.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/op-mode-definitions/show-systemintegrity.xml b/op-mode-definitions/show-systemintegrity.xml
new file mode 100644
index 000000000..44b5faf68
--- /dev/null
+++ b/op-mode-definitions/show-systemintegrity.xml
@@ -0,0 +1,14 @@
+<?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>