Update DEBIAN/postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 4s Details

This commit is contained in:
Carneiro 2024-09-09 21:24:57 -03:00
parent 2375088b34
commit fab586acca
1 changed files with 2 additions and 1 deletions

View File

@ -2,4 +2,5 @@
# Script executado pós instalação
interface=$(ip -o -4 route show to default | awk '{print $5}')
ethtool $interface | grep Wake && systemctl enable --now wol@$interface.service
systemctl enable --now wol@$interface.service
return 0