update unit and add postinst script

This commit is contained in:
Carneiro committed 2024-09-09 20:41:11 -03:00
1 parent dafa46900a
commit 9eeed64a92
2 files changed
+2

No files matched your search

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