# This is the job file for Palm WiFi Service.

start on started PmNetConfigManager 
respawn

# don't start PmWiFiService when running in emulator
# or if the hardware doesn't exist
pre-start script
  if /bin/grep -qs "ARM-Versatile" /proc/cpuinfo ; then 
    stop
  fi

  if [ ! -f /dev/tokens/WIFIoADDR ] ; then
    stop
  fi 
end script

exec /usr/bin/PmWiFiService 
