#!/bin/sh
#
#ident	"@(#)sendmail	1.12	97/05/29 SMI"	/* SVr4.0 1.5 */
#
# /etc/init.d/sendmail - Start/Stop the sendmail daemon
#
# Copyright (c) 1997 by Sun Microsystems, Inc.
# All Rights Reserved.
#

#
# The network and streams should already be built by the time
# this script runs.
#
# If sendmail is already executing, don't re-execute it.
#
PATH=/usr/bin:/bin

case $1 in 
'start')
	su - iscan -c "/etc/iscan/iscansmtps start"
	;;
'stop')
	/etc/iscan/iscansmtps stop
	;;
*)
	echo "usage: /etc/rc2.d/iscansmtps {start|stop}"
	;;
esac
