Add: service message direct to standard output and also /var/log/seeed-voicecard.log
This commit is contained in:
parent
84247b0037
commit
f1a46d63cc
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue