update unit and add postinst script

This commit is contained in:
Carneiro 2024-09-09 20:41:11 -03:00
parent dafa46900a
commit 9eeed64a92
2 changed files with 2 additions and 0 deletions

View File

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