feat ✨: Add support for Wake-on-LAN
Enables Wake-on-LAN by setting `wol_interface` to an empty string and enables MAC address reporting.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=Enable Wake-on-LAN
|
||||
Description=Enable Wake-on-LAN on {{ wol_interface_final }}
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/ethtool -s {{ wol_interface }} wol {{ wol_mode }}
|
||||
ExecStart=/sbin/ethtool -s {{ wol_interface_final }} wol {{ wol_mode }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user