summaryrefslogtreecommitdiff
path: root/security/openssh/pkg/REQ
blob: 421069641cc7855ef23273a27ee63cd007e63daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# $NetBSD: REQ,v 1.1 2000/01/27 17:13:02 hubertf Exp $
#

PKG=$1
STAGE=$2

if [ "$STAGE" != "INSTALL" ];
then
        exit 0
fi

if ! dd if=/dev/urandom of=/dev/null bs=1 count=1 2>/dev/null >/dev/null ; 
then
	echo ""
	echo "Need working /dev/urandom for this package to work!"
	echo ""
	exit 1
fi

exit 0