Franziska Kunsmann
ccfa56ad5e
All checks were successful
bundlewrap/pipeline/head This commit looks good
30 lines
390 B
Bash
30 lines
390 B
Bash
#!/bin/bash
|
|
|
|
(
|
|
while true
|
|
do
|
|
ip link show | grep ppp
|
|
if [[ $? -eq 0 ]]
|
|
then
|
|
sleep 1
|
|
else
|
|
exit 0
|
|
fi
|
|
done
|
|
) &
|
|
|
|
% for service in sorted(services):
|
|
(
|
|
while true
|
|
do
|
|
if systemctl is-active ${service}
|
|
then
|
|
sleep 1
|
|
else
|
|
exit 0
|
|
fi
|
|
done
|
|
) &
|
|
% endfor
|
|
|
|
wait
|