#!/bin/bash # # Copyright (c) 2018, Intel Corporation # # SPDX-License-Identifier: BSD-3-Clause # IFACE=$1 if [ -z $IFACE ]; then echo "You must provide the network interface as first argument" exit -1 fi i=$((`date +%s%N` + 37000000000 + (2 * 60 * 1000000000))) BASE_TIME=$(($i - ($i % 1000000000))) BATCH_FILE=taprio.batch cat > $BATCH_FILE <