Files
debian/modules/firewall.sh

12 lines
141 B
Bash
Executable File

#!/bin/bash
echo
echo " => Firewall"
echo
dpkg -l ufw > /dev/null 2>&1
if [ $? -ne 0 ]; then
apt-get install ufw -y
ufw enable
fi