#! /bin/sh -
#
# bruno's rc file.
#
# Note that all "echo" commands are in parentheses.  This is done
# because all commands that redirect the output to "/dev/console"
# must be done in a child of the main shell, so that the main shell
# does not open a terminal and get its process group set.  Since
# "echo" is a builtin command, redirection for it will be done
# in the main shell unless the command is run in a subshell.
#
PATH=/bin:/usr/bin:/usr/etc:/usr/local/etc:/usr/ucb

if [ -f /usr/etc/ftp-listener ]
then
	/usr/etc/ftp-listener &
	(echo "ftp listener")	>/dev/console
fi

if [ -f /usr/local/etc/pingem ]; then
	/usr/local/etc/pingem &
	(echo "pingem") 	>/dev/console
fi

if [ -x /usr/local/etc/pland ]; then
    echo starting pland
    (pland /homes/troubmh/.plan /usr/local/etc/status)>/tmp/pland.output 2>&1 &
fi

if [ -x /usr/local/etc/erpcd ]; then
	/usr/local/etc/erpcd; (echo 'Annex server.')            >/dev/console
fi
