wifi modules are to be loaded by wifi scripts, otherwise networkmanager
brings the wifi up no matter what and there doesn't seem to be any sane
way to stop it.
COMPATIBLE_MACHINE = "omap3-pandora"
-PR = "r29"
+PR = "r30"
SRC_URI = " \
file://first-run-wizard.sh \
update-rc.d -f dropbear remove
update-rc.d -f wl1251-init remove
+# prevent wifi from being autoloaded on later kernels, let wl1251-init script do it
+if ! grep -q 'blacklist wl1251_sdio' /etc/modprobe.conf 2> /dev/null; then
+ echo 'blacklist wl1251_sdio' >> /etc/modprobe.conf
+fi
+
# get rid of some dirs in /media that OE creates but are unlikely to be used
rmdir /media/card /media/cf /media/mmc1 /media/net /media/realroot /media/union 2> /dev/null