#  An AP with the ESSID "open-static".  DHCP is disabled and instead a set
#  of commands is used in "up" to bring up the network.

case "$1" in
   start)
      WIFIROAMD_DHCP=0
      ;;
   up)
      ip addr add "$WIFIROAMD_DEVICE" 10.1.1.1/24
      ifconfig "$WIFIROAMD_DEVICE" up
      ip route add default via 10.1.1.254

      #  specify the gateway for pinging in the monitor
      WIFIROAMD_PINGGW_DEFAULTGW=10.1.1.254
      ;;
esac
