]> git.pld-linux.org Git - packages/wireshark.git/blame - wireshark.su-start-script
- pl fix
[packages/wireshark.git] / wireshark.su-start-script
CommitLineData
b705e8b8 1#!/bin/sh
9a30c2f5
PG
2ID=`which id`
3echo $ID
4IDN=`$ID -u`
5
6if [ $IDN -ne 0 ] ; then
028313c0 7 echo "Wireshark needs administrator capabilities"
36eb5b1e 8 echo "Give root password (you have to be in wheel group):"
028313c0 9 exec su -c wireshark
9a30c2f5
PG
10 exit 1
11else
028313c0 12 wireshark
9a30c2f5 13fi
This page took 0.027557 seconds and 4 git commands to generate.