summaryrefslogtreecommitdiff
path: root/run_gptp.sh
blob: e894cdd61f7b65a551dea9262a6bc0f5ed80ea29 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Simple script to run gptp

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

groupadd ptp
daemons/gptp/linux/build/obj/daemon_cl $1 $2 $3 $4 $5 $6 $7 $8