commit | 171d35e8391558f7ac6de36ddcb5711a4afda1c9 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Jun 20 17:36:29 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Jun 20 17:36:29 2016 -0700 |
tree | e3367c0649004a3cf278808068b0372c447c2986 | |
parent | 117d441fe667f5a290a55d024636c84a8bd5a679 [diff] |
move over vtr service from XOS repo
diff --git a/xos/synchronizer/files/run_tcpdump.sh b/xos/synchronizer/files/run_tcpdump.sh new file mode 100644 index 0000000..ed75bf0 --- /dev/null +++ b/xos/synchronizer/files/run_tcpdump.sh
@@ -0,0 +1,9 @@ +#! /bin/bash +INTERFACE=$1 +tcpdump -n -e -i $INTERFACE -c 100 & +PID_TCPDUMP=$! +curl http://www.xosproject.org/ &> /dev/null & +PID_CURL=$! +sleep 30s +kill $PID_TCPDUMP +kill $PIUD_CURL