#! /bin/sh # Basic support for IRIX style chkconfig ### # chkconfig: 235 98 55 # description: Manages the services you are controlling with the chkconfig command ### case "$1" in start) echo -n "Starting iptables-admin" /usr/bin/iptadmin & echo "." ;; stop) echo -n "Stopping iptables-admin" /usr/bin/killall iptadmin echo "." ;; *) echo "Usage: /sbin/service iptadmin {start|stop}" exit 1 esac exit 0