Browse Source

Auto git add & push

master
Nico Schottelius 4 years ago
parent
commit
a8ce370997
  1. 3
      p4app/sniff-host.sh

3
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

Loading…
Cancel
Save