From 9396ee8bad54750fa44800e7fbef817eaa6547e6 Mon Sep 17 00:00:00 2001 From: Gauthier Provost Date: Mon, 14 Oct 2019 11:19:52 +0800 Subject: [PATCH] Clean WoL enable instruction #21 --- docs/wol.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/wol.md b/docs/wol.md index 972e28d..f649d77 100644 --- a/docs/wol.md +++ b/docs/wol.md @@ -102,26 +102,26 @@ Enable the PHY to raise an interrupt when magic packet received : sudo ethtool -s eth0 wol g ``` -To make it permanent, create the following file */lib/systemd/system/wol@.service* and copy the following: +To make it permanent, create the following file */lib/systemd/system/helios4-wol.service* and copy the following: ``` [Unit] -Description=Wake-on-LAN for %i +Description=Enable Wake-on-LAN for Helios4 eth0 After=network-online.target Wants=network-online.target [Service] -ExecStart=/sbin/ethtool -s %i wol g +ExecStart=/sbin/ethtool -s eth0 wol g Type=oneshot [Install] WantedBy=multi-user.target ``` -Then enable the service for **eth0** +Then reload systemd manager configuration ``` -systemctl enable wol@eth0 +sudo systemctl daemon-reload ``` ## Suspend System