I've made a little script that switches your wifi state (or you can set the state too) non-persistent: a reboot and you'll be back in the configured state.

#!/bin/sh

# STATE = on => wifi is on
# STATE = off => wifi is off

STATEFILE="/tmp/wifionoff.state"

if [ $# -eq 1 ]; then
  case $1 in
    "up"|"on")
      STATE=off
      ;;
    "down"|"off")
      STATE=on
      ;;
  esac
else
  if [ ! -e ${STATEFILE} ]; then
    STATE=on
  else
    . ${STATEFILE}
  fi
fi
if [ -z ${STATE} ]; then
  STATE=on
fi

if [ ${STATE} == "on" ]; then
  /sbin/wifi down
  STATE=off
else
  /sbin/wifi up
  STATE=on
fi
  
echo "STATE=${STATE}" > ${STATEFILE}

You can save this in /usr/bin/wifionoff, and you can call it three ways:

./wifionoff -> will change the state to the opposite of what it was
./wifionoff down|off -> turns wifi off
./wifionoff up|on -> turns wifi on

See also http://wiki.openwrt.org/doc/howto/hardware.button