Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ufw_start() {
- out=""
- if iptables -L ufw-user-input -n >/dev/null 2>&1 ; then
- echo "Firewall already started, use 'force-reload'"
- return 0
- fi
- if [ "$ENABLED" = "yes" ] || [ "$ENABLED" = "YES" ]; then
- echo "Starting firewall:" "ufw"
- for m in $IPT_MODULES
- do
- modprobe $m || true
- done
- if [ "$MANAGE_BUILTINS" = "yes" ]; then
- flush_builtins
- fi
Advertisement
Add Comment
Please, Sign In to add comment