WakeOnLan before booting

I'm using an NFS share as storage partition. Since my NAS shuts down if it is not needed I have to start it manually every time before starting my openelec.
I thought it would be nice if openelec would do this for me before starting up, so I modified the initramfs to check weather the NAS is running or not. If it is not running we send out a magic packet to boot it up. I have added the following parameters for the kernel cmd line:
"wol_mac=" for the mac-address to wake (e.g. 00:00:00:00:00:00)
"wol_ip=" the ip of the device to check whether it is running or not (e.g. 192.168.1.12)
"wol_wait=" to specify a delay after the magic packet was send before continuing booting

Hope this little feature can be added :)