mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge branch 'master' of https://github.com/yalh76/package_check
This commit is contained in:
commit
1f759407b0
2 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ LXC_START () {
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
echo ""
|
echo ""
|
||||||
|
sleep 30
|
||||||
local failstart=0
|
local failstart=0
|
||||||
# Check if the container is running
|
# Check if the container is running
|
||||||
if ! is_lxc_running; then
|
if ! is_lxc_running; then
|
||||||
|
|
|
@ -406,7 +406,7 @@ lxc_net_check=0 # Passe sur les différents tests
|
||||||
while test "$lxc_net" -eq 1 # Boucle tant que la connexion internet du conteneur n'est pas réparée.
|
while test "$lxc_net" -eq 1 # Boucle tant que la connexion internet du conteneur n'est pas réparée.
|
||||||
do
|
do
|
||||||
REBOOT_CONTENEUR
|
REBOOT_CONTENEUR
|
||||||
sleep 3
|
sleep 30
|
||||||
sudo lxc-ls -f
|
sudo lxc-ls -f
|
||||||
CHECK_LXC_NET
|
CHECK_LXC_NET
|
||||||
lxc_net=$?
|
lxc_net=$?
|
||||||
|
|
Loading…
Add table
Reference in a new issue