diff options
author | hagbard <vyosdev@derith.de> | 2018-10-29 11:08:54 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2018-10-29 11:08:54 -0700 |
commit | 817ce73d37c7c6a073b6276c66b411160e4944cb (patch) | |
tree | c6f933ea477d474f107dd902aec1682148a2215b /op-mode-definitions | |
parent | 2b8d48bcd77134dff741158c81f7fadf3183e280 (diff) | |
download | vyos-1x-817ce73d37c7c6a073b6276c66b411160e4944cb.tar.gz vyos-1x-817ce73d37c7c6a073b6276c66b411160e4944cb.zip |
T240: system integrity check
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-systemintegrity.xml | 14 |
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> |