Files
Server-scripts/services/wol.service
T

13 lines
248 B
Desktop File

[Unit]
Description=Enable Wake-on-LAN
After=NetworkManager-wait-online.service
Wants=NetworkManager-wait-online.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/ethtool -s enp5s0 wol g
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target