add turn-on-wol script

This script periodically turns on Wake-On-Lan with a magic packet
This commit is contained in:
joachimschmidt557 2023-03-25 23:35:26 +01:00
parent ccd9c069f4
commit 150646b4c8
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

6
turn-on-wol Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
while true ; do
ethtool -s eno1 wol g
sleep 10
done