summaryrefslogtreecommitdiff
path: root/op-mode-definitions/pppoe-server.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/pppoe-server.xml')
-rw-r--r--op-mode-definitions/pppoe-server.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-mode-definitions/pppoe-server.xml b/op-mode-definitions/pppoe-server.xml
index a2366c710..1f6f7f844 100644
--- a/op-mode-definitions/pppoe-server.xml
+++ b/op-mode-definitions/pppoe-server.xml
@@ -29,4 +29,14 @@
</node>
</children>
</node>
+ <node name="restart">
+ <children>
+ <leafNode name="pppoe-server">
+ <properties>
+ <help>Restarts pppoe-server</help>
+ </properties>
+ <command>if [ -e /var/run/accel_pppoe.pid ]; then /usr/bin/accel-cmd restart -p 2001; else echo "pppoe-server not running"; fi</command>
+ </leafNode>
+ </children>
+ </node>
</interfaceDefinition>