[Cooker] snort init script proposal...

2002-10-16 Thread Oden Eriksson
--- snortd 2002-10-16 11:13:00.0 +0200 +++ snortd.oden 2002-10-16 15:06:56.0 +0200 -49,8 +49,11 status) status snort ;; + configtest) + /usr/sbin/snort -u snort -g snort -i ${INTERFACE} -c /etc/snort/snort.conf -v -T + ;; *) -

[Cooker] snort init script proposal... (second version:))

2002-10-16 Thread Oden Eriksson
This one's much better since no command line option will over ride what's in the config file: --- snortd 2002-10-16 11:13:00.0 +0200 +++ snortd.oden 2002-10-16 15:09:52.0 +0200 -27,8 +27,8 if [ -x /usr/sbin/snort -a ! -e /var/lock/subsys/snort ]; then