Browse Source

Move git code outside so no conflicts exists for parallel scripts

master
Nico Schottelius 3 years ago
parent
commit
681c9faae1
  1. 5
      p4app/git-pcap.sh
  2. 3
      p4app/sniff-host.sh

5
p4app/git-pcap.sh

@ -0,0 +1,5 @@
#!/bin/sh
git add .
git commit -m "+pcap"
git push

3
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

Loading…
Cancel
Save