update unit and add postinst script

This commit is contained in:
Carneiro committed 2024-09-09 20:41:11 -03:00
1 parent dafa46900a
commit 9eeed64a92
2 files changed
+2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Enable Wake On Lan on %i
Requires=network.target
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/ethtool -s %i wol g
[Install]
WantedBy=multi-user.target