Cleanup examples, tests, configuration and plugins
[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