bundles/{radvd,wide-dhcp6c}: improve handling of non-properly terminated ip-down scripts
This commit is contained in:
parent
644eb37b82
commit
a14580944b
3 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemctl start radvd
|
||||
if systemctl is-active wide-dhcpv6-client;
|
||||
then
|
||||
systemctl restart radvd
|
||||
else
|
||||
systemctl start radvd
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue