Sfoglia il codice sorgente

Update grub at the end of mesh install

Bob Mottram 7 anni fa
parent
commit
e610ebbcda
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-mesh Vedi File

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