mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
formatting - Replaced tabs with spaces
This commit is contained in:
@@ -54,17 +54,17 @@ update-config () {
|
|||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
et-log "Executing audio configuration script: ${AUDIO_INIT_SCRIPT}"
|
et-log "Executing audio configuration script: ${AUDIO_INIT_SCRIPT}"
|
||||||
|
|
||||||
CMD="${AUDIO_INIT_SCRIPT} ${AUDIO_CARD} ${AUDIO_DEVICE}"
|
CMD="${AUDIO_INIT_SCRIPT} ${AUDIO_CARD} ${AUDIO_DEVICE}"
|
||||||
et-log "Running command: ${CMD}"
|
et-log "Running command: ${CMD}"
|
||||||
${CMD}
|
${CMD}
|
||||||
|
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
et-log "Audio init script ${AUDIO_INIT_SCRIPT} failed. Can't start application."
|
et-log "Audio init script ${AUDIO_INIT_SCRIPT} failed. Can't start application."
|
||||||
notify-user "Audio init script failed. Can't start application."
|
notify-user "Audio init script failed. Can't start application."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle audio generically for most sound card interfaces
|
# Handle audio generically for most sound card interfaces
|
||||||
|
|||||||
Reference in New Issue
Block a user