Modify : variable structure, add file custom
This commit is contained in:
@@ -63,7 +63,7 @@ configure_ufw() {
|
||||
|
||||
# Enable UFW
|
||||
log_message "INFO" "Enabling UFW"
|
||||
echo "y" | ufw -force enable
|
||||
echo "y" | ufw enable
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
log_message "SUCCESS" "UFW enabled successfully"
|
||||
|
||||
Reference in New Issue
Block a user