script to start sshd doesnt run from /etc/rc2.d/

From: alex j avriette (avriettea@speakeasy.net)
Date: Wed Aug 21 2002 - 10:07:06 EDT


I've got the following script in /etc/rc2.d/ and it doesnt seem to start
sshd on boot. However, running the script manually, it works just fine.

#!/bin/ksh

# this gets rid of stale sockets and whatnot
if [ -e /var/spool/prngd/pool ]; then
         rm /var/spool/prngd/pool
fi

# this gathers entropy
if [ -e /usr/local/etc/prngd/prngd-seed ]; then
         rm /usr/local/etc/prngd/prngd-seed
         cat /var/log/* >> /usr/local/etc/prngd/prngd-seed
fi

/usr/local/sbin/prngd -s /usr/local/etc/prngd/prngd-seed
/var/spool/prngd/pool
/usr/local/sbin/sshd

--
any idea what would cause it to not run at boot? I'll gladly summarize.
Thanks
alex
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:49 EDT