Move git code outside so no conflicts exists for parallel scripts

This commit is contained in:
Nico Schottelius 2019-03-27 13:52:25 +01:00
parent e349de5859
commit 681c9faae1
2 changed files with 5 additions and 3 deletions

5
p4app/git-pcap.sh Normal file
View File

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

View File

@ -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