diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-03 16:38:22 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-03 16:38:22 +0200 |
commit | f6e840a6da4f70cc6dd4dbe7caba2605619fbc93 (patch) | |
tree | 9c3528b8567240a7eb7db430cf1222623e006091 /op-mode-definitions | |
parent | 6eee95a8056e36a60906f91a0e89dd6f4baa07f3 (diff) | |
download | vyos-1x-f6e840a6da4f70cc6dd4dbe7caba2605619fbc93.tar.gz vyos-1x-f6e840a6da4f70cc6dd4dbe7caba2605619fbc93.zip |
T2546: migrate "show poweroff" to vyos-1x
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-poweroff.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/show-poweroff.xml b/op-mode-definitions/show-poweroff.xml new file mode 100644 index 000000000..1fd2afcc3 --- /dev/null +++ b/op-mode-definitions/show-poweroff.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <leafNode name="poweroff"> + <properties> + <help>Show scheduled poweroff</help> + </properties> + <command>${vyos_op_scripts_dir}/powerctrl.py --check</command> + </leafNode> + </children> + </node> +</interfaceDefinition> |