summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDmytro Aleksandrov <alkersan@gmail.com>2018-08-21 08:39:16 +0300
committerDmytro Aleksandrov <alkersan@gmail.com>2018-08-23 16:59:13 +0300
commit549899e1f155a1d8816ea6b5b3dc130d5ca7b037 (patch)
tree7932c4718c28876ccce1ff9c5e61bd181956d662 /op-mode-definitions
parentd67c3a7b9b3fcb1e79d2cee61627ed869847673f (diff)
downloadvyos-1x-549899e1f155a1d8816ea6b5b3dc130d5ca7b037.tar.gz
vyos-1x-549899e1f155a1d8816ea6b5b3dc130d5ca7b037.zip
T689: Moved clear console and reset terminal ops from vyatta-op
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/terminal.xml29
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>