#!/bin/bash if systemctl is-active wide-dhcpv6-client; then systemctl restart radvd else systemctl start radvd fi