Mercurial > syslog2iptables
diff syslog2iptables.rc @ 10:5dfe0138b4f9
initial coding
author | carl |
---|---|
date | Thu, 08 Dec 2005 13:58:08 -0800 |
parents | d76f9ff42487 |
children | 0d65c3de34fd |
line wrap: on
line diff
--- a/syslog2iptables.rc Sat Dec 03 13:54:47 2005 -0800 +++ b/syslog2iptables.rc Thu Dec 08 13:58:08 2005 -0800 @@ -21,10 +21,10 @@ # Start daemons. echo -n "Starting syslog2iptables: " if [ ! -f /var/lock/subsys/syslog2iptables ]; then - cd /etc # conf file is here - /usr/local/sbin/syslog2iptables -d 2 + cd SYSCONFDIR # conf file is here + SBINDIR/syslog2iptables -d 2 RETVAL=$? - pid=`pidof -s /usr/local/sbin/syslog2iptables` + pid=`pidof -s SBINDIR/syslog2iptables` if [ $pid ] then success "Starting syslog2iptables :"