bundles/pppd: also wait for ppp interface to vanish before restarting
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
0aafeb96cd
commit
ccfa56ad5e
1 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,18 @@
|
||||||
#!/bin/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):
|
% for service in sorted(services):
|
||||||
(
|
(
|
||||||
while true
|
while true
|
||||||
|
|
Loading…
Reference in a new issue