2024-09-09 20:30:22 -03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Script executado pós instalação
|
2024-09-09 20:41:11 -03:00
|
|
|
interface=$(ip -o -4 route show to default | awk '{print $5}')
|
2024-09-09 20:58:41 -03:00
|
|
|
ethtool $interface | grep Wake && systemctl enable --now wol@$interface.service
|