Skip to content

Commit

Permalink
update for fw 202305052130
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 authored May 31, 2023
1 parent 1124aac commit debb1ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
19 changes: 19 additions & 0 deletions skeleton/.tmp_update/runtime.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# install
if [ -d "/mnt/SDCARD/miyoo354" ]; then
rm -rf /tmp/runtime.sh.old
mv /mnt/SDCARD/.tmp_update/runtime.sh /tmp/runtime.sh.old
exit 0
fi

# or launch
LAUNCH_PATH="/mnt/SDCARD/.system/paks/MiniUI.pak/launch.sh"
if [ -f "$LAUNCH_PATH" ]; then
"$LAUNCH_PATH"
fi

while true; do
reboot
sleep 10
done
18 changes: 1 addition & 17 deletions skeleton/.tmp_update/updater
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
#!/bin/sh

# install
if [ -d "/mnt/SDCARD/miyoo354" ] ; then
exit 0
fi

# or launch
LAUNCH_PATH="/mnt/SDCARD/.system/paks/MiniUI.pak/launch.sh"
if [ -f "$LAUNCH_PATH" ] ; then
"$LAUNCH_PATH"
fi

# something went terribly wrong
while true ; do
reboot # under no circumstances should stock be allowed to touch this card
sleep 10
done
/mnt/SDCARD/.tmp_update/runtime.sh

0 comments on commit debb1ab

Please sign in to comment.