First off thank you for the handy little script! I knew what was happening (the wol setting is lost on powerdown) but didn't have the linux knowledge to yet implement a fix! I can also confirm this...