]>
Commit | Line | Data |
---|---|---|
c98a19f4 | 1 | #!/bin/sh |
2 | ID=`which id` | |
3 | echo $ID | |
4 | IDN=`$ID -u` | |
5 | ||
6 | if [ $IDN -ne 0 ] ; then | |
7 | echo "Ethereal needs administrator capabilities" | |
8 | echo "Give root password (you have to be in wheel group):" | |
9 | exec su -c ethereal | |
10 | exit 1 | |
11 | else | |
12 | ethereal | |
13 | fi |