Add ifup-pre-local script to correctly set the mode for madwifi.