summaryrefslogtreecommitdiff
path: root/op-mode-definitions/ipoe-server.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-28 14:03:20 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-28 14:03:20 +0200
commite541ffc4f34ced045b89bd039f391d1322ff5f00 (patch)
tree83b329953d9b277238237aac9e5638a9f2ea149f /op-mode-definitions/ipoe-server.xml
parentce8cc3514acdc1f2c06bcd3ef7f3ef32561df9c8 (diff)
parent6ac5271e93d06712f6e318d2f6b96280ae16f040 (diff)
downloadvyos-1x-e541ffc4f34ced045b89bd039f391d1322ff5f00.tar.gz
vyos-1x-e541ffc4f34ced045b89bd039f391d1322ff5f00.zip
Merge branch 'current' of github.com:vyos/vyos-1x into equuleus
* 'current' of github.com:vyos/vyos-1x: T1694: delete the now broken tests for NTP. Jenkins: assume dependencies are available in DOcker container OpenVPN: T1512: always enable compat-names option Interface: T1695: Syntax error in interface-dummy.py - Missing colon T1694 NTPd: Do not listen on all interfaces by default openvpn: T1691: interface is not always created - take care when setting alias openvpn: T1691: add artifical abort when waiting on interface ipoe-server: T1690 - restart op-mode command for service ipoe-server ipoe-server: T1692 - ipoe-server verify function error pppoe-server: T1690 - restart op-mode commands for pppoe-server T1685 Adding ethernet valueHelp for vif,vif-s,vif-c wireguard: T1681 - code cleanup and maintenace.
Diffstat (limited to 'op-mode-definitions/ipoe-server.xml')
-rw-r--r--op-mode-definitions/ipoe-server.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-mode-definitions/ipoe-server.xml b/op-mode-definitions/ipoe-server.xml
index ea14e9a5c..369ceebea 100644
--- a/op-mode-definitions/ipoe-server.xml
+++ b/op-mode-definitions/ipoe-server.xml
@@ -23,4 +23,14 @@
</node>
</children>
</node>
+ <node name="restart">
+ <children>
+ <leafNode name="ipoe-server">
+ <properties>
+ <help>show ipoe-server status</help>
+ </properties>
+ <command>if [ -e /var/run/accel_ipoe.pid ]; then /usr/bin/accel-cmd restart -p 2002; else echo "ipoe-server not running"; fi</command>
+ </leafNode>
+ </children>
+ </node>
</interfaceDefinition>