summaryrefslogtreecommitdiff
path: root/run_atl.sh
blob: 7331f0b2b2ce0ed5b214b5d071774725027c7f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# Simple script to run atl_avb

if [ "$#" -eq "0" ]; then
	echo "please enter network interface name as parameter. For example:"
	echo "sudo ./run_atl.sh eth1"
	exit -1
fi

rmmod atlantic
rmmod aqdiag
rmmod atl_tsn
modprobe crc_itu_t
modprobe ptp
insmod lib/atl_avb/kmod/atl_tsn.ko

ethtool -i $1