summaryrefslogtreecommitdiffstats
path: root/conf.d/project/data/replay_launcher.sh
blob: 3d4d08e21cb565506975fa83e22ece4e5e182ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

PLAYER=$(which canplayer)
FILE=$1

if [ $PLAYER ]
then
	$PLAYER -I $FILE &
else
	echo "can-utils packages not installed"
	exit 1
fi

exit 0