From 4bf7b15c35a91c17346e18169be93f32632b6c0d Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 30 Oct 2024 17:00:54 +0100 Subject: [PATCH] Update --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2306c90..5ba5d99 100644 --- a/install.sh +++ b/install.sh @@ -155,14 +155,13 @@ if ! sudo sed -i "s|^ENCODED_API_KEY_FILE=.*|ENCODED_API_KEY_FILE=\"$token_file\ echo "ERROR: Failed to update ENCODED_API_KEY_FILE in reporter.sh." exit 1 fi -echo echo "INFO: Setting permissions (chmod 644) for the file /var/log/ufw.log" sudo chmod 644 /var/log/ufw.log -echo # Prompt to add reporter.sh as a service +echo read -rp "> Do you want to add reporter.sh as a service? [Yes/no]: " add_service # Normalize input to lowercase to handle variations in input (yes, y, no, n)