]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/oldcore/91/update.sh
Merge branch 'next'
[ipfire-2.x.git] / config / rootfiles / oldcore / 91 / update.sh
index 1e55e8bd5dbc22bff39f4c763ea6022e995796b9..1104c9fa4eb7f6464b1a94acf81158b13516b03e 100644 (file)
@@ -54,6 +54,11 @@ if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
        /etc/init.d/ipsec start
 fi
 
+# Update grub config to display new core version
+if [ -e /boot/grub/grub.cfg ]; then
+       grub-mkconfig > /boot/grub/grub.cfg
+fi
+
 # This update need a reboot...
 touch /var/run/need_reboot