소스 검색

Update grub at the end of mesh install

Bob Mottram 7 년 전
부모
커밋
e610ebbcda
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-mesh 파일 보기

@@ -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