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)