summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-22 13:42:25 +0000
committerChristian Poessinger <christian@poessinger.com>2020-11-22 13:42:25 +0000
commitd4d223ff86e05e2b768a4eac1babffc0e43fa147 (patch)
tree61f82191037ea2c94bafb7a7089c6e8bb862976f
parent72cb73892b143e005a69320d096bfc25336f9680 (diff)
downloadvyos-1x-d4d223ff86e05e2b768a4eac1babffc0e43fa147.tar.gz
vyos-1x-d4d223ff86e05e2b768a4eac1babffc0e43fa147.zip
op-mode: add "restart" tree
-rw-r--r--Makefile1
-rw-r--r--op-mode-definitions/restart.xml8
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 49765db2d..efcb61dfc 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,6 @@ op_mode_definitions:
rm -f $(OP_TMPL_DIR)/show/ipv6/node.def
rm -f $(OP_TMPL_DIR)/show/ipv6/bgp/node.def
rm -f $(OP_TMPL_DIR)/show/ipv6/route/node.def
- rm -f $(OP_TMPL_DIR)/restart/node.def
rm -f $(OP_TMPL_DIR)/monitor/node.def
rm -f $(OP_TMPL_DIR)/generate/node.def
rm -f $(OP_TMPL_DIR)/show/system/node.def
diff --git a/op-mode-definitions/restart.xml b/op-mode-definitions/restart.xml
new file mode 100644
index 000000000..c74ec9013
--- /dev/null
+++ b/op-mode-definitions/restart.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interfaceDefinition>
+ <node name="restart">
+ <properties>
+ <help>Restart individual service</help>
+ </properties>
+ </node>
+</interfaceDefinition>