From 9d15c7d3fb21648a52b9c06bdc0a5055f8099119 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 28 Dec 2023 15:16:49 +0100 Subject: op-mode: T5866: Add command to restart IPv6 RA daemon vyos@vyos:~$ restart router-advert --- op-mode-definitions/restart-router-advert.xml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 op-mode-definitions/restart-router-advert.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/restart-router-advert.xml.in b/op-mode-definitions/restart-router-advert.xml.in new file mode 100644 index 000000000..304b4dfd3 --- /dev/null +++ b/op-mode-definitions/restart-router-advert.xml.in @@ -0,0 +1,13 @@ + + + + + + + Restart IPv6 Router Advertisement service + + if cli-shell-api existsActive service router-advert; then sudo systemctl restart radvd.service; else echo "IPv6 Router Advertisement service not configured"; fi + + + + -- cgit v1.2.3