Add: service message direct to standard output and also /var/log/seeed-voicecard.log

This commit is contained in:
turmary 2020-09-28 08:44:56 +01:00
parent 84247b0037
commit f1a46d63cc
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@
# THE SOFTWARE.
set -x
#exec 1>/var/log/$(basename $0).log 2>&1
LOGF=/var/log/$(basename $0).log
exec 1> >(tee $LOGF)
exec 2>&1
export PATH=$PATH:/opt/vc/bin
OVERLAYS=/boot/overlays