diff --git a/systemd/wol@.service b/systemd/wol@.service new file mode 100644 index 0000000..52a6b56 --- /dev/null +++ b/systemd/wol@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wake-on-LAN for %i +Requires=network.target +After=network.target + +[Service] +ExecStart=/usr/bin/ethtool -s %i wol g +Type=oneshot + +[Install] +WantedBy=multi-user.target