]> git.pld-linux.org Git - packages/wireshark.git/blobdiff - ethereal.su-start-script
This commit was manufactured by cvs2git to create branch 'RA-branch'.
[packages/wireshark.git] / ethereal.su-start-script
diff --git a/ethereal.su-start-script b/ethereal.su-start-script
new file mode 100755 (executable)
index 0000000..de97b38
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+ID=`which id`
+echo $ID
+IDN=`$ID -u`
+
+if [ $IDN -ne 0 ] ; then
+       echo "Ethereal needs administrator capabilities"
+       echo "Give root password (you have to be in wheel group):" 
+       exec su -c ethereal
+       exit 1
+else
+       ethereal
+fi
This page took 0.033078 seconds and 4 git commands to generate.