[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:
parent
5af1c085bf
commit
fd43faac16
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue