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;
|
||||
then
|
||||
systemctl restart wide-dhcpv6-client
|
||||
systemctl stop wide-dhcpv6-client
|
||||
sleep 1
|
||||
systemctl sart wide-dhcpv6-client
|
||||
else
|
||||
systemctl start wide-dhcpv6-client
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue