#!/bin/sh

if ! ps aux | grep -v "grep" | grep -q "sbin/p0f"; then
	echo "p0f is not running"
	exit 1
fi

echo "p0f is running"
exit 0
