summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-router-advert.xml.in
blob: 304b4dfd3c9bb668428726e87885cd7b940b448b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="restart">
    <children>
      <node name="router-advert">
        <properties>
          <help>Restart IPv6 Router Advertisement service</help>
        </properties>
        <command>if cli-shell-api existsActive service router-advert; then sudo systemctl restart radvd.service; else echo "IPv6 Router Advertisement service not configured"; fi</command>
      </node>
    </children>
  </node>
</interfaceDefinition>