This commit is contained in:
Sefinek 2024-10-30 17:00:54 +01:00
parent 0f06233d74
commit 4bf7b15c35

View file

@ -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)