add turn-on-wol script
This script periodically turns on Wake-On-Lan with a magic packet
This commit is contained in:
parent
ccd9c069f4
commit
150646b4c8
1 changed files with 6 additions and 0 deletions
6
turn-on-wol
Executable file
6
turn-on-wol
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
while true ; do
|
||||||
|
ethtool -s eno1 wol g
|
||||||
|
sleep 10
|
||||||
|
done
|
||||||
Loading…
Add table
Add a link
Reference in a new issue