Code Review
/
apps
/
agl-service-can-low-level.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
controller: Prepare project ot use the Controller
[apps/agl-service-can-low-level.git]
/
test
/
afb-test
/
fixtures
/
replay_launcher.sh
1
#!/bin/bash
2
3
PLAYER=$(command -v canplayer 2> /dev/null || command -v linuxcan-canplayer 2> /dev/null)
4
FILE=$1
5
6
if [ "$PLAYER" ]
7
then
8
$PLAYER -I "$FILE" &
9
else
10
echo "can-utils packages not installed"
11
exit 1
12
fi
13
14
exit 0