Update
This commit is contained in:
parent
0f06233d74
commit
4bf7b15c35
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue