diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-21 13:52:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 13:52:33 +0200 |
commit | 12d42bb85efa0658a9160bf7ce892514ee859293 (patch) | |
tree | 699dae2069febab360dbe7158ea4eca1d16f883f /op-mode-definitions/terminal.xml | |
parent | 680e431cfa58de0cdb42eb83b6e9abdb3ee54cb1 (diff) | |
parent | 549899e1f155a1d8816ea6b5b3dc130d5ca7b037 (diff) | |
download | vyos-1x-12d42bb85efa0658a9160bf7ce892514ee859293.tar.gz vyos-1x-12d42bb85efa0658a9160bf7ce892514ee859293.zip |
Merge pull request #40 from alkersan/clear_term
T689: Moved clear console and reset terminal ops from vyatta-op
Diffstat (limited to 'op-mode-definitions/terminal.xml')
-rw-r--r-- | op-mode-definitions/terminal.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/op-mode-definitions/terminal.xml b/op-mode-definitions/terminal.xml new file mode 100644 index 000000000..db74f867e --- /dev/null +++ b/op-mode-definitions/terminal.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="clear"> + <properties> + <help>Clear system information</help> + </properties> + <children> + <node name="console"> + <properties> + <help>Clear screen</help> + </properties> + <command>/usr/bin/clear</command> + </node> + </children> + </node> + <node name="reset"> + <properties> + <help>Reset a service</help> + </properties> + <children> + <node name="terminal"> + <properties> + <help>Reset terminal</help> + </properties> + <command>/usr/bin/reset</command> + </node> + </children> + </node> +</interfaceDefinition> |