Apple Mac systems support Wake-on-LAN from powered-off state (S5/G2) via the AUPO SMC key.
This change adds a convenience sysctl:
dev.asmc.0.wol (0=disabled, 1=enabled)
The AUPO key is volatile and resets to 0x00 on every boot, so WoL must be manually enabled before each shutdown to work from powered-off state.
Users need to run:
sysctl dev.asmc.0.wol=1
before shutting down the system.