#!/bin/sh -e

CONFIG=/etc/snort/snort.debian.conf

test -f /usr/sbin/snort || exit 0

test -f $CONFIG && . $CONFIG

test "$DEBIAN_SNORT_STARTUP" = "dialup" || exit 0

/sbin/start-stop-daemon --stop --pidfile /var/run/snort/snort_$PPP_IFACE.pid --quiet --oknodo --exec /usr/sbin/snort >/dev/null

exit 0
