Skip to content

Commit

Permalink
Temp? Fix for non DIY mode on gl170
Browse files Browse the repository at this point in the history
  • Loading branch information
D3VL-Jack committed Dec 2, 2022
1 parent 686be0e commit f40bd1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion control/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: image-configurator
Version: 1.0.2
Version: 1.0.3
Maintainer: D3VL LTD <[email protected]>
Description: Change the splash screen and screensaver images with splashscreen.png, screensaver01.png and screensaver02.png in the root of the SD card.
Architecture: pigeon-glasses
Expand Down
6 changes: 6 additions & 0 deletions data/opt/bin/image-configurator.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/system/bin/sh

# non DIY mode on gl170 can cause (rare) crashes at startup
if [ "$(getprop ro.product.device)" = "pigeon_wm170_gls" ] && [ "$(unrd product_type)" != "wm150_gls" ]; then
echo "[image-configurator] gl170 and not DIY mode, bailing";
exit 0
fi

echo "[image-configurator] start";
SD_CARD=$(ls /mnt/media_rw);
if [[ SD_CARD ]]; then
Expand Down

0 comments on commit f40bd1c

Please sign in to comment.