Show any errors from tshark/tcpdump in error log
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
aad95082fb
commit
ef00787c5c
@ -6,8 +6,8 @@ MSG="kilroy"
|
|||||||
|
|
||||||
/sbin/ifconfig -a
|
/sbin/ifconfig -a
|
||||||
|
|
||||||
tshark -Qni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
tshark -Qni lo -w ${CAP} port ${PORT} &
|
||||||
#tcpdump -qlni lo -w ${CAP} port ${PORT} 2>/dev/null &
|
#tcpdump -qlni lo -w ${CAP} port ${PORT} &
|
||||||
PID="$!"
|
PID="$!"
|
||||||
sleep 5
|
sleep 5
|
||||||
ps fax |grep -A3 tshark
|
ps fax |grep -A3 tshark
|
||||||
|
Loading…
x
Reference in New Issue
Block a user