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:04:50 +0100
commitf9007c5f5e6e7957ab1c955c10b3842dca7b253d (patch)
treea4e65d7d209829200857c38b64bef65ad6429c19 /op-mode-definitions/dhcp.xml
parentfe639cd05002b16a82b74262966598bab976e67f (diff)
downloadvyos-1x-f9007c5f5e6e7957ab1c955c10b3842dca7b253d.tar.gz
vyos-1x-f9007c5f5e6e7957ab1c955c10b3842dca7b253d.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
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>