summaryrefslogtreecommitdiff
path: root/op-mode-definitions/dhcp.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-11-17 11:03:08 +0100
committerChristian Poessinger <christian@poessinger.com>2018-11-17 11:07:11 +0100
commit33ed35f45766d9157a25a7591a4ebe8a9a67be8e (patch)
treeb8c323c3aec54dfe0ac33a8a9d1344e74a89b76c /op-mode-definitions/dhcp.xml
parent2d74057c102c92670537bae5a6256a812f1edffe (diff)
downloadvyos-1x-33ed35f45766d9157a25a7591a4ebe8a9a67be8e.tar.gz
vyos-1x-33ed35f45766d9157a25a7591a4ebe8a9a67be8e.zip
T1016: fix IPv4/IPv6 dhcp relay restart command
Current implementation referred to a no longer existing Perl script to restart the IPv4 and IPv6 instance of dhcrelay. > restart dhcp relay-agent > restart dhcpv6 relay-agent (cherry picked from commit f9007c5f5e6e7957ab1c955c10b3842dca7b253d)
Diffstat (limited to 'op-mode-definitions/dhcp.xml')
-rw-r--r--op-mode-definitions/dhcp.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/dhcp.xml b/op-mode-definitions/dhcp.xml
index eb57f8f1f..a7d09304e 100644
--- a/op-mode-definitions/dhcp.xml
+++ b/op-mode-definitions/dhcp.xml
@@ -83,7 +83,7 @@
<properties>
<help>Restart the DHCP server process</help>
</properties>
- <command>sudo /opt/vyatta/sbin/dhcrelay-starter.pl --op-mode --init='/opt/vyatta/sbin/dhcrelay.init'</command>
+ <command>sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv4</command>
</node>
</children>
</node>
@@ -102,7 +102,7 @@
<properties>
<help>Restart the DHCP server process</help>
</properties>
- <command>sudo /opt/vyatta/sbin/dhcv6relay-starter.pl --op_mode --config_action ACTIVE</command>
+ <command>sudo ${vyos_op_scripts_dir}/restart_dhcp_relay.py --ipv6</command>
</node>
</children>
</node>