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

This commit is contained in:
Carneiro 2024-09-09 21:30:43 -03:00
parent fab586acca
commit 685a3035cb
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
set +e
# Script executado pós instalação
interface=$(ip -o -4 route show to default | awk '{print $5}')
systemctl enable --now wol@$interface.service
return 0
systemctl enable --now wol@$interface.service