alsa-tools/usx2yloader/tascam_fpga.in
Takashi Iwai ae6ba4c872 - fixed the path of us428control.
- check the existence of us428control.
2003-12-02 11:57:06 +00:00

20 lines
379 B
Bash

#!/bin/sh
# load the firmware into Tascam USB devices (FPGA design)
prefix=@prefix@
exec_prefix=@exec_prefix@
LOADER=@bindir@/usx2yloader
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "calling $LOADER for $DEVICE"
fi
$LOADER
if [ -x @bindir@/us428control ]; then
@bindir@/us428control &
fi
if [ -x /usr/bin/logger ]; then
/usr/bin/logger -t $0 "leaving"
fi
exit 0