summaryrefslogtreecommitdiff
path: root/run_atl.sh
diff options
context:
space:
mode:
authorandrew-elder <aelder@audioscience.com>2020-06-29 16:43:07 -0400
committerGitHub <noreply@github.com>2020-06-29 16:43:07 -0400
commitff076e83234d2207f33447b9bd6d1646d9245566 (patch)
treeb08be422b2434015eeb32c63a1ad3d46426961a2 /run_atl.sh
parent8fa80d1de59fbef14c8d0e80d8d9a62679a6182a (diff)
parent2450131844c44c75f31c01c5d618e37d2bed5be2 (diff)
downloadOpen-AVB-ff076e83234d2207f33447b9bd6d1646d9245566.tar.gz
Merge pull request #900 from Avnu/open-avb-next
Open avb next
Diffstat (limited to 'run_atl.sh')
-rwxr-xr-xrun_atl.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/run_atl.sh b/run_atl.sh
new file mode 100755
index 00000000..7331f0b2
--- /dev/null
+++ b/run_atl.sh
@@ -0,0 +1,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