diff options
author | flz <flz@FreeBSD.org> | 2006-04-11 09:08:15 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2006-04-11 09:08:15 +0000 |
commit | 8c63e779ed6c94c8f662889c85f064dcb46d3a62 (patch) | |
tree | bf81e98521904ab97853d47880b3fe0a45f1b268 /etc/rc.d/sshd | |
parent | 7e4f15ea33b08b4b3167657a2f8c94d50a560744 (diff) | |
download | FreeBSD-src-8c63e779ed6c94c8f662889c85f064dcb46d3a62.zip FreeBSD-src-8c63e779ed6c94c8f662889c85f064dcb46d3a62.tar.gz |
- Fix rc.d/sshd test on kern.random.sys.seeded.
PR: conf/94377
Submitted by: dwhite
Approved by: cperciva (mentor)
MFC after: 1 week
Diffstat (limited to 'etc/rc.d/sshd')
-rwxr-xr-x | etc/rc.d/sshd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd index 0c18bbd..1f4078c 100755 --- a/etc/rc.d/sshd +++ b/etc/rc.d/sshd @@ -25,7 +25,7 @@ user_reseed() { ( seeded=`sysctl -n kern.random.sys.seeded 2>/dev/null` - if [ "${seeded}" != "" ] ; then + if [ "x${seeded}" != "x" ] && [ ${seeded} -eq 0 ] ; then warn "Setting entropy source to blocking mode." echo "====================================================" echo "Type a full screenful of random junk to unblock" |