Update grub at the end of mesh install

This commit is contained in:
Bob Mottram 2017-07-03 20:56:12 +01:00
parent f9616ceedc
commit e610ebbcda
1 changed files with 3 additions and 0 deletions

View File

@ -632,6 +632,9 @@ if [ -f $MESH_INSTALL_SETUP ]; then
rm /usr/share/images/desktop-base/desktop-background
ln -s /usr/share/images/desktop-base/${PROJECT_NAME}_mesh_background.png /usr/share/images/desktop-base/desktop-background
fi
if [ -f /etc/default/grub ]; then
update-grub
fi
systemctl reboot -i
fi
fi