summaryrefslogtreecommitdiff
path: root/run_atl.sh
diff options
context:
space:
mode:
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