summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>