#!/bin/bash

file="/etc/init.d/firewall"

if [ -f "$file" ]
then
        echo "OK - firewall found.";
        exit 0
else
        echo "CRITICAL - firewall not found.";
        exit 2
fi
