1
0
Fork 0
forked from len0rd/rockbox

nwztools: update makefile and add script

The new script allows the upgrade to execute a file found on the user partition.

Change-Id: I564941d01bcdbae050002e77cb119f3d95ecdc21
This commit is contained in:
Amaury Pouly 2016-10-19 17:02:41 +02:00
parent eaa1cb3469
commit 13d892eef1
3 changed files with 76 additions and 2 deletions

View file

@ -51,7 +51,7 @@ fi
# run it and redirect all outputs to exec.txt
lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,7 "Running file..."
/tmp/exec 2>&1 >$CONTENTS/exec.txt
/tmp/exec >$CONTENTS/exec.txt 2>&1
# 4) Success screen
lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,15 "Rebooting in 3 seconds."