#!/bin/sh

case "$1" in
    "post-start"|"post-fast-restart"|"post-graceful-restart")
        if [ "$3" = "0" ]; then
            /usr/local/nsc/bin/snort-scan-webconfig
        fi
    ;;
esac
