From 13d892eef1c78d14314b7d3a2cb9035e9ba1420c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Wed, 19 Oct 2016 17:02:41 +0200 Subject: nwztools: update makefile and add script The new script allows the upgrade to execute a file found on the user partition. Change-Id: I564941d01bcdbae050002e77cb119f3d95ecdc21 --- utils/nwztools/scripts/exec_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/nwztools/scripts/exec_file.sh') 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 # 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." -- cgit v1.2.3