#!/bin/bash

# intention of this wrapper: inform user who calls tshark manually from command line, that it consumes huge amounts of RAM
# when calling /usr/bin/tshark with absolute pathname the wrapper will not interfere

dialog --infobox "tshark must not be used for long term LAN tracing due to memory consumption.\nPlease use tcpdump or dumpcap instead\n" 0 0
sleep 5
dialog --clear
exit 1
