From 681c9faae1417538230110e7268f07293b15b72c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 27 Mar 2019 13:52:25 +0100 Subject: [PATCH] Move git code outside so no conflicts exists for parallel scripts --- p4app/git-pcap.sh | 5 +++++ p4app/sniff-host.sh | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 p4app/git-pcap.sh diff --git a/p4app/git-pcap.sh b/p4app/git-pcap.sh new file mode 100644 index 0000000..09971be --- /dev/null +++ b/p4app/git-pcap.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +git add . +git commit -m "+pcap" +git push diff --git a/p4app/sniff-host.sh b/p4app/sniff-host.sh index ac54fc0..60ce11e 100755 --- a/p4app/sniff-host.sh +++ b/p4app/sniff-host.sh @@ -15,6 +15,3 @@ filename=${name}-${now}-${host}.pcap intf=${host}-eth0 mx "$host" tcpdump -ni ${intf} -w "${filename}" -git add . -git commit -m "+pcap: ${filename}" -git push