From 8ae771f5b4a008b5bf753844304999f085fa7395 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 26 Sep 2024 11:14:05 +0200 Subject: [PATCH] add systemd subfolder --- systemd/wol@.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd/wol@.service 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