[IMP] point_of_sale: redirect POSBox image init script output to file

Useful when updates to the initialization scripts don't go as
planned. This leaves something to inspect.

The initialization script already automatically stops (because of 'set
-o errexit') but it was a bit tricky to actually see what went wrong
because scrollback in QEMU isn't great.
This commit is contained in:
Joren Van Onder 2016-04-13 14:26:13 +02:00
parent 5af1c085bf
commit fd43faac16
1 changed files with 1 additions and 1 deletions

View File

@ -17,6 +17,6 @@ if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
/etc/init_posbox_image.sh
/etc/init_posbox_image.sh 2>&1 | tee /home/pi/init_posbox_image.log
exit 0