#!/bin/sh # #IPtables based firewall configured by Guarddog. # # case "$1" in start) if [ -f $ROOT ]; then echo "Starting the firewall....." /etc/rc.firewall &>/dev/null fi ;; stop) echo "Disabling the firewall........." /usr/sbin/iptables -F ;; status) ;; *) echo "Usage {start|stop|status}" ;; esac exit 0