diff --git a/lib/systemd/system/wakeonlan.service b/lib/systemd/system/wakeonlan.service new file mode 100644 index 0000000..e365b22 --- /dev/null +++ b/lib/systemd/system/wakeonlan.service @@ -0,0 +1,11 @@ +[Unit] +Description=Enable Wake On Lan on %i +Requires=network.target +After=network.target + +[Service] +Type=oneshot +ExecStart=/usr/sbin/ethtool -s %i wol g + +[Install] +WantedBy=multi-user.target