Using Ubuntu 12.04 with systemd(default). I have a broadcom 4312 wireless card which needs "wl" driver and broadcom NIC which uses "b44" "ssb" modules. now, the problem is, at boot the wireless card is not functioning. for that, I have to remove all related modules viz. wl,b44,ssb etc. later, If I modprobe wl;modprobe b44 - both the devices(Wireless and NIC) works fine. So, How can I modify the kernel module loading sequence such that "wl" loads first followed by "b44"? Is it worth using /etc/modprobe.d/aliases.conf adding aliases to the modules? or run a shell script that essentially runs at the end of startup running commands:
modprobe -r wl b44 ssb
wait 5 (to complete)
modprobe wl
wait 2
modprobe b44
I have no idea to write a systemd or autostart script. if a script works, that is the best option.