mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
lxc_check: fix bridge check
This commit is contained in:
parent
a3453177f0
commit
f86a8482f6
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ do
|
||||||
then
|
then
|
||||||
echo -e "\e[92mLe bridge démarre correctement.\e[0m"
|
echo -e "\e[92mLe bridge démarre correctement.\e[0m"
|
||||||
# Vérifie que le bridge obtient une adresse IP
|
# Vérifie que le bridge obtient une adresse IP
|
||||||
if sudo ifconfig | grep -A 10 $LXC_BRIDGE | grep "inet adr" | grep -q -F "$PLAGE_IP.1 "
|
if LC_ALL=C sudo ifconfig | grep -A 10 $LXC_BRIDGE | grep "inet addr" | grep -q -F "$PLAGE_IP.1 "
|
||||||
then
|
then
|
||||||
echo -e "\e[92mLe bridge obtient correctement son adresse IP.\e[0m"
|
echo -e "\e[92mLe bridge obtient correctement son adresse IP.\e[0m"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue