Add: service message direct to standard output and also /var/log/seeed-voicecard.log
This commit is contained in:
parent
84247b0037
commit
f1a46d63cc
|
@ -21,7 +21,9 @@
|
||||||
# THE SOFTWARE.
|
# THE SOFTWARE.
|
||||||
|
|
||||||
set -x
|
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
|
export PATH=$PATH:/opt/vc/bin
|
||||||
OVERLAYS=/boot/overlays
|
OVERLAYS=/boot/overlays
|
||||||
|
|
Loading…
Reference in New Issue