From 7ee6c5c055645cf8f1bce30191b02303fbcf3982 Mon Sep 17 00:00:00 2001 From: Carneiro Date: Wed, 11 Sep 2024 14:20:18 -0300 Subject: [PATCH] Update DEBIAN/postinst --- DEBIAN/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEBIAN/postinst b/DEBIAN/postinst index ba258dc..f58afd0 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -5,6 +5,6 @@ set -e interface=$(ip -o -4 route show to default | awk '{print $5}') # Install and start the systemd service -if ! systemctl enable --now wol@$interface.service; then +if ! systemctl enable wol@${interface}.service; then echo "Warning: Failed to start your-service.service" >&2 fi \ No newline at end of file