浏览代码

Change image name if booting from sata

Bob Mottram 7 年前
父节点
当前提交
1fad6ac395
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-image

+ 4
- 0
src/freedombone-image 查看文件

541
     IMAGE_NAME=$'onion'
541
     IMAGE_NAME=$'onion'
542
 fi
542
 fi
543
 
543
 
544
+if [ "$EXTERNAL_DRIVE" ]; then
545
+    IMAGE_NAME=$'sata'
546
+fi
547
+
544
 if [[ $VARIANT == 'mesh' ]]; then
548
 if [[ $VARIANT == 'mesh' ]]; then
545
     IMAGE_NAME=$'mesh'
549
     IMAGE_NAME=$'mesh'
546
     # typically not much disk space is needed for a mesh node
550
     # typically not much disk space is needed for a mesh node