From a8ce3709977cdfbd206bbde497023fa07874efa9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 23 Mar 2019 14:33:50 +0100 Subject: [PATCH] Auto git add & push --- p4app/sniff-host.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p4app/sniff-host.sh b/p4app/sniff-host.sh index 60ce11e..ac54fc0 100755 --- a/p4app/sniff-host.sh +++ b/p4app/sniff-host.sh @@ -15,3 +15,6 @@ filename=${name}-${now}-${host}.pcap intf=${host}-eth0 mx "$host" tcpdump -ni ${intf} -w "${filename}" +git add . +git commit -m "+pcap: ${filename}" +git push