Untitled
public text v1 · immutable # Check if the iwpriv $iface is returning a sw_reset.
if [ x"`iwpriv $iface 2>/dev/null | grep sw_reset`" != "x" ]
then
echo -e -n "$iface\t\tCentrino b/g\tipw2200"
# Add the card in /etc/kismet.conf
echo "source=ipw2200,$iface,Centrino_g" >>$KISMET
startStdIface $iface $CH
echo
continue
fi