bundles/wide-dhcp6c: stop, then start, instead of restart
This commit is contained in:
parent
8e54d6eb23
commit
00fd1df67a
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ fi
|
||||||
|
|
||||||
if systemctl is-active wide-dhcpv6-client;
|
if systemctl is-active wide-dhcpv6-client;
|
||||||
then
|
then
|
||||||
systemctl restart wide-dhcpv6-client
|
systemctl stop wide-dhcpv6-client
|
||||||
|
sleep 1
|
||||||
|
systemctl sart wide-dhcpv6-client
|
||||||
else
|
else
|
||||||
systemctl start wide-dhcpv6-client
|
systemctl start wide-dhcpv6-client
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue