MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.29.213
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/polkit-1/../udev/rules.d/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/polkit-1/../udev/rules.d/../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

MMCT - 2023