diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-10-19 17:02:41 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-10-19 17:09:04 +0200 |
| commit | 13d892eef1c78d14314b7d3a2cb9035e9ba1420c (patch) | |
| tree | fdd330f4f0d5a1d317b63ac2faca1255c1c6e8b5 /utils/nwztools/scripts/exec_file.sh | |
| parent | eaa1cb3469c1abef0433c1a23102b53d59e47814 (diff) | |
| download | rockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.zip rockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.tar.gz rockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.tar.bz2 rockbox-13d892eef1c78d14314b7d3a2cb9035e9ba1420c.tar.xz | |
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.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nwztools/scripts/exec_file.sh b/utils/nwztools/scripts/exec_file.sh index 059014d..3689091 100644 --- a/utils/nwztools/scripts/exec_file.sh +++ b/utils/nwztools/scripts/exec_file.sh @@ -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." |