oginit comprueba conectividad con el oglive share #546

git-svn-id: https://opengnsys.es/svn/branches/version1.0@3256 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
Antonio Doblas Viso 2012-07-17 10:13:59 +00:00
parent eeab8e6e4a
commit 7bb85b2cdb
1 changed files with 7 additions and 1 deletions

View File

@ -70,7 +70,13 @@ mountroot ()
[ "$ogdebug" == "true" ] && ogYesNo --timeout 5 --default no "Stop before configure networking: y/N "
[ $? == 0 ] && sh || echo " "
ogConfigureNetworking
if [ -n "$oglive" ]
then
while !(ping -c 1 $oglive &> /dev/null)
do
ogConfigureNetworking
done
fi
log_success_msg "config networking"
ogConfigureLoopback
log_success_msg "config loopback"