Browse Source

Change image name if booting from sata

Bob Mottram 7 years ago
parent
commit
1fad6ac395
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-image

+ 4
- 0
src/freedombone-image View File

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