Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ proc/ self/ root/ lib/ udev/

//proc/self/root/lib/udev/tascam_fpga

#!/bin/sh
# load the firmware into Tascam USB devices (FPGA design),
# start appropriate control application.

prefix=/usr
exec_prefix=/usr

LOADER=/usr/bin/usx2yloader
CONTROLLER=NOTUSED

if [ -x $LOADER ]; then
	if [ -x /usr/bin/logger ]; then
		/usr/bin/logger -t $0 "calling $LOADER for $DEVICE"
	fi
	$LOADER
else
	if [ -x /usr/bin/logger ]; then
		/usr/bin/logger -t $0 "missing $LOADER for $DEVICE"
	fi
fi

case $PRODUCT in
1604/8001/*)
	CONTROLLER=/usr/bin/us428control
	;;
1604/8005/*)
	CONTROLLER=/usr/bin/us428control
	;;
*)
	;;
esac

if [ $CONTROLLER != NOTUSED ]; then
	if [ -x $CONTROLLER ]; then
		if [ -x /usr/bin/logger ]; then
			/usr/bin/logger -t $0 "starting $CONTROLLER for $DEVICE"
		fi
		$CONTROLLER &
	else
		if [ -x /usr/bin/logger ]; then
			/usr/bin/logger -t $0 "missing $CONTROLLER for $DEVICE"
		fi
	fi
fi

if [ -x /usr/bin/logger ]; then
	/usr/bin/logger -t $0 "leaving"
fi

exit 0