#------------------------------------------------------------------------------ # /etc/rc.d/rc110.wlan - initialize mac80211 subsystem __FLI4LVER__ # # Creation: 05.08.2002 rresch # Last Update: $Id$ #------------------------------------------------------------------------------ begin_script WLAN_MAC80211 case $debug_active in yes) wlanconfig_debug=-x ;; *) wlanconfig_debug= ;; esac if set | grep -q 'WLAN_.*_WPA_ENCRYPTION.*CCMP'; then do_modprobe aes-i586 fi cat <<-EOF >/sbin/crda-wrapper.sh #!/bin/sh if [ "\$ACTION" = 'change' -a "\$MODALIAS" = 'platform:regulatory' ] then /sbin/crda else /sbin/mdev fi EOF chmod a+x /sbin/crda-wrapper.sh echo /sbin/crda-wrapper.sh >/proc/sys/kernel/hotplug end_script