FYI, on my side I ensure the interface stays "awaken" (and not up, it can not stay "up", in the Unix meaning of this term, once the system has shut down) by putting these two lines in /etc/default/halt :
NETDOWN=no # to not shutdown the interfaces
ethtool -s eth0 wol g # to activate the wake-on-lan facility
FYI, on my side I ensure the interface stays "awaken" (and not up, it can not stay "up", in the Unix meaning of this term, once the system has shut down) by putting these two lines in /etc/default/halt :
NETDOWN=no # to not shutdown the interfaces
ethtool -s eth0 wol g # to activate the wake-on-lan facility
Best regards, J.C.