#!/bin/sh
if [ $# != 1 ]; then
	echo "Usage: $0 {start | stop}"
	exit 1
fi

if [ $1 = "start" ]; then
	serelc --provide smtp
	serelc --need syslog
else
	serelc --unprovide smtp
fi

# echo $0 pid = $$

serelc --statuschange $$ 0
