Is that really working? Even if the user_wlan.sh is not set +x?
And you need an "enc" before the WEP key, and the script name for wireless is wireless.sh
So it should be something like this:
Code:
#Enter your values below. Wep-Key is optional
ssid="INSECURE"
wep_key=""
if ["$wep_key" = ""]
then /usr/bin/wireless.sh start $ssid
else /usr/bin/wireless.sh start $ssid enc $wep_key
fi