From fab586accacb5eb3b8d001cd1b6bda5fb104951a Mon Sep 17 00:00:00 2001 From: Carneiro Date: Mon, 9 Sep 2024 21:24:57 -0300 Subject: [PATCH] Update DEBIAN/postinst --- DEBIAN/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEBIAN/postinst b/DEBIAN/postinst index 757a0d3..deae26d 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -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 \ No newline at end of file +systemctl enable --now wol@$interface.service +return 0 \ No newline at end of file