samples/pktgen: Trap SIGINT
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 24 Feb 2015 02:33:08 +0000 (02:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2015 03:04:21 +0000 (22:04 -0500)
commit16b5d0c4a24c793ca3584ca5c50fd5f8f2166120
tree9da3c9b262e675dc8be5afd0e5e7f877363ead81
parentdb72aba30a4f4c15eb20066f1d9c1bcbcf419236
samples/pktgen: Trap SIGINT

Otherwise ^C stops the script, not just pktgen.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/pktgen/pktgen.conf-1-1
samples/pktgen/pktgen.conf-1-1-flows
samples/pktgen/pktgen.conf-1-1-ip6
samples/pktgen/pktgen.conf-1-1-ip6-rdos
samples/pktgen/pktgen.conf-1-1-rdos
samples/pktgen/pktgen.conf-1-2
samples/pktgen/pktgen.conf-2-1
samples/pktgen/pktgen.conf-2-2