summaryrefslogtreecommitdiff
path: root/utils/nwztools/scripts/exec_file.sh
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-10-19 17:02:41 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2016-10-19 17:09:04 +0200
commit13d892eef1c78d14314b7d3a2cb9035e9ba1420c (patch)
treefdd330f4f0d5a1d317b63ac2faca1255c1c6e8b5 /utils/nwztools/scripts/exec_file.sh
parenteaa1cb3469c1abef0433c1a23102b53d59e47814 (diff)
downloadrockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.tar.gz
rockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.zip
nwztools: update makefile and add script
The new script allows the upgrade to execute a file found on the user partition. Change-Id: I564941d01bcdbae050002e77cb119f3d95ecdc21
Diffstat (limited to 'utils/nwztools/scripts/exec_file.sh')
-rw-r--r--utils/nwztools/scripts/exec_file.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nwztools/scripts/exec_file.sh b/utils/nwztools/scripts/exec_file.sh
index 059014de2c..368909123f 100644
--- a/utils/nwztools/scripts/exec_file.sh
+++ b/utils/nwztools/scripts/exec_file.sh
@@ -51,7 +51,7 @@ fi
51 51
52# run it and redirect all outputs to exec.txt 52# run it and redirect all outputs to exec.txt
53lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,7 "Running file..." 53lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,7 "Running file..."
54/tmp/exec 2>&1 >$CONTENTS/exec.txt 54/tmp/exec >$CONTENTS/exec.txt 2>&1
55 55
56# 4) Success screen 56# 4) Success screen
57lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,15 "Rebooting in 3 seconds." 57lcdmsg -f /usr/local/bin/font_08x12.bmp -l 0,15 "Rebooting in 3 seconds."