Update
This commit is contained in:
1 parent
0f06233d74
commit
4bf7b15c35
1 file changed
+1
-2
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user