Subversion Repositories ALCASAR

Rev

Rev 2770 | Rev 2888 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2770 Rev 2887
Line 27... Line 27...
27
	sudo kill -2 $_PID
27
	sudo kill -2 $_PID
28
}
28
}
29
 
29
 
30
function launch
30
function launch
31
{
31
{
32
	tcpdump ether host $1 -i $INTIF -n -w /tmp/capture_$1.pcap
32
	tcpdump ether host $1 -i $INTIF -n -w /var/Save/iot_captures/$1.pcap
33
}
33
}
34
 
34
 
35
function flush
35
function flush
36
{
36
{
37
	sudo rm /tmp/capture_$1.pcap -f
37
	sudo rm /var/Save/iot_captures/$1.pcap -f
38
}
38
}
39
 
39
 
40
 
40
 
41
while getopts "l k i f" option; do
41
while getopts "l k i f" option; do
42
 
42