#!/bin/sh

. config/options

for firmware in $FIRMWARE; do

  [ $firmware = ipw2100 ] && $SCRIPTS/install ipw2100-fw
  [ $firmware = ipw2200 ] && $SCRIPTS/install ipw2200-fw
  [ $firmware = iwl1000 ] && $SCRIPTS/install iwlwifi-1000-ucode
  [ $firmware = iwl3945 ] && $SCRIPTS/install iwlwifi-3945-ucode
  [ $firmware = iwl4965 ] && $SCRIPTS/install iwlwifi-4965-ucode
  [ $firmware = iwl5000 ] && $SCRIPTS/install iwlwifi-5000-ucode
  [ $firmware = iwl5150 ] && $SCRIPTS/install iwlwifi-5150-ucode
  [ $firmware = iwl6000 ] && $SCRIPTS/install iwlwifi-6000-ucode

done

exit 0
