Getting wol to work after a shutdown, wol after suspend IS working

view story

https://bbs.archlinux.org – My solution to make WoL work after shutdown and suspend/hibernate was to create a script in /usr/lib/systemd/system-sleep/wol.sh:#!/bin/sh # Setting WOL to Active /usr/sbin/ethtool -s eth0 wol gDon't forget to make it executable!Since man 8 systemd-sleep considers this kind of solutions as hack, I also tried the following alternative code in /etc/systemd/system/wol@.service, however it didn't work:[Unit] Description=Wake-on-LAN for %i Requires=network.target After=network.target After=sleep.target Before=halt.target Before=poweroff.target Before=kexec.target Before=shutdown.target [ (HowTos)