This is a lifesaver!!! Thank you - been looking for a way to do this for
some time. I added a sleep 5 to the wireless enable/disable as was not
always seeing the power get switched back on to the wireless card after
it was switched off. Now it works ...