#!/bin/sh
ID=`which id`
echo $ID
IDN=`$ID -u`

if [ $IDN -ne 0 ] ; then
	echo "Wireshark needs administrator capabilities"
	echo "Give root password (you have to be in wheel group):" 
	exec su -c wireshark
	exit 1
else
	wireshark
fi
