#!/bin/sh

if [[ -a /etc/wpa_supplicant_${1}.conf ]] then  
  wpa_cli -i ${1} reassociate
fi   
