Move git code outside so no conflicts exists for parallel scripts
This commit is contained in:
parent
e349de5859
commit
681c9faae1
2 changed files with 5 additions and 3 deletions
5
p4app/git-pcap.sh
Normal file
5
p4app/git-pcap.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
git add .
|
||||
git commit -m "+pcap"
|
||||
git push
|
|
@ -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…
Reference in a new issue