: "@(#)shutdaemon	6.3  3/23/87"
names="cron|lpsched|sendmail|ftpd|telnetd|rlogind|rshd|rwhod|portmap|mountd"
if ls -i /dev/disp0 | fgrep 4294967295 > /dev/null
then
	console=0
else
	console=disp0
fi
pids=`ps -t $console | egrep $names | awk '{if ($4 != "egrep") print $1}'`
kill -15 $pids
