summaryrefslogtreecommitdiff
path: root/bin/getprofile
blob: acc334c656da91f3b506ed9132240f37cdabe2e7 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
source /var/lib/pcmcia/scheme
iface="$1"
while read profile; do
    if [ "$profile" == "$iface_$SCEME" ]; then echo "$profile"; exit 0;  fi;
done;
echo "$iface";
exit 0;