]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core92: update grub.cfg to show core92.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 9 Jul 2015 13:03:37 +0000 (15:03 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 9 Jul 2015 13:03:37 +0000 (15:03 +0200)
config/rootfiles/core/92/update.sh

index 00cd61ce6c00617afaff35959612ec280439077c..cd1bd0123d01ec61152dff42d778f68a22534128 100644 (file)
@@ -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