Skip to content

Commit e4ad160

Browse files
author
Shaun Inman
committed
rg28xx: fix for boot loop
caused by booting device with dmenu.bin on TF1 but no MinUI install (or zip) on either card
1 parent f3b0028 commit e4ad160

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workspace/rg35xxplus/boot/boot.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ if [ -f $SYSTEM_PATH/paks/MinUI.pak/launch.sh ]; then
110110
$SYSTEM_PATH/paks/MinUI.pak/launch.sh
111111
else
112112
echo "couldn't find launch.sh" >> $TF1_PATH/log.txt
113-
ls -l $SDCARD_PATH >> $TF1_PATH/log.txt
113+
if [ -h $TF2_PATH ] && [ "$TF2_PATH" -ef "$TF1_PATH" ]; then
114+
echo "deleting old TF2 -> TF1 symlink" >> $TF1_PATH/log.txt
115+
unlink $TF2_PATH
116+
fi
114117
fi
115118

116119
sync && poweroff

0 commit comments

Comments
 (0)