From 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 14 Apr 2024 06:38:49 +0200 Subject: squashed init --- etc/systemd/system/wol@.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 etc/systemd/system/wol@.service (limited to 'etc/systemd') diff --git a/etc/systemd/system/wol@.service b/etc/systemd/system/wol@.service new file mode 100644 index 0000000..b60d539 --- /dev/null +++ b/etc/systemd/system/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 gp +Type=oneshot + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2