blob: b4ffe4a1cf7063fc32ddf5bed864b24ad41e65bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#Simple script to start iwscanner
GKSU=/usr/bin/gksu
KDESU=/usr/bin/kdesu
GKSUDO=/usr/bin/gksudo
if [ -e "$GKSU" ]
then
$GKSU /usr/share/iwscanner/iwscanner.py
elif [ -e "$KDESU" ]
then
$KDESU -c /usr/share/iwscanner/iwscanner.py
elif [ -e "$GKSUDO" ]
then
$GKSUDO -c /usr/share/iwscanner/iwscanner.py
else
echo "Unable to find suitable su application, please install gksu"
fi
|