Versión 1.0.4, #520 #529: Actualizar Initrd en caché cuando hay un nuevo Kernel.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@3027 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/main
ramon 2012-05-15 12:16:24 +00:00
parent df127a6465
commit f3057cac53
1 changed files with 4 additions and 1 deletions

View File

@ -85,7 +85,10 @@ mountroot ()
ogYesNo --timeout 5 --default no "Stop before check updating initrd: y/N "
[ $? == 0 ] && sh || echo " "
fi
[ "$ogupdateinitrd" == "true" ] && ogUpdateInitrd
# Actualizar Initrd si se solicita o si no se corresponde con su kernel.
if [ "$ogupdateinitrd" == "true" -o ! -d /lib/modules/$(uname -r) ]; then
ogUpdateInitrd
fi
[ "$ogdebug" == "true" ] && ogYesNo --timeout 5 --default no "Stop before connect and merging the rootfs -ogLive- with $OGSERVERLIVE: y/N "
[ $? == 0 ] && sh || echo " "