Skip to content

Commit

Permalink
F_FLASHPART: mark bootloader red
Browse files Browse the repository at this point in the history
well if those aren't critical ... :p

related to issue #17
  • Loading branch information
steadfasterX committed Jul 30, 2018
1 parent e57a3b8 commit b8d82a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt.func
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,11 @@ F_FLASHPART(){ F_LOG "$FUNCNAME: started"
if [ -z "$IRES" ];then IRES="false\n${AVIMG}\n${APART}\nunneeded\n99"; else IRES="$IRES false\n${AVIMG}\n${APART}\nunneeded\n99" ;fi
;;
${PBOOTL})
if [ -z "$IRES" ];then IRES="true\n${AVIMG}\n${APART}\nbootloader\n1"; else IRES="$IRES true\n${AVIMG}\n${APART}\nbootloader\n1" ;fi
if [ -z "$IRES" ];then
IRES="true\n${AVIMG}\n${APART}</span>\n<span\tcolor='#ff0000'>bootloader</span>\n1"
else
IRES="$IRES true\n${AVIMG}\n${APART}\n<span\tcolor='#ff0000'>bootloader</span>\n1"
fi
;;
${PDEVICE})
# dangerous partitions contain device specific stuff, e.g. your IMEI and will not get written by a regular KDZ flash!
Expand Down

0 comments on commit b8d82a3

Please sign in to comment.