From: Arne Fitzenreiter Date: Thu, 9 Jul 2015 13:03:37 +0000 (+0200) Subject: core92: update grub.cfg to show core92. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87cd02c3d7f699c704b758b50cc01bd134fd9885;p=people%2Fms%2Fipfire-2.x.git core92: update grub.cfg to show core92. --- diff --git a/config/rootfiles/core/92/update.sh b/config/rootfiles/core/92/update.sh index 00cd61ce6c..cd1bd0123d 100644 --- a/config/rootfiles/core/92/update.sh +++ b/config/rootfiles/core/92/update.sh @@ -57,6 +57,10 @@ fi # Finish /etc/init.d/fireinfo start sendprofile +# Update grub config to display new core version +if [ -e /boot/grub/grub.cfg ]; then + grub-mkconfig > /boot/grub/grub.cfg +fi # Don't report the exitcode last command exit 0