add function code,send wake up magic packet.