1256338Sdes#!/bin/sh
2256338Sdes#-
3256338Sdes# Copyright (c) 2013 Dag-Erling Sm��rgrav
4256338Sdes# All rights reserved.
5256338Sdes#
6256338Sdes# Redistribution and use in source and binary forms, with or without
7256338Sdes# modification, are permitted provided that the following conditions
8256338Sdes# are met:
9256338Sdes# 1. Redistributions of source code must retain the above copyright
10256338Sdes#    notice, this list of conditions and the following disclaimer.
11256338Sdes# 2. Redistributions in binary form must reproduce the above copyright
12256338Sdes#    notice, this list of conditions and the following disclaimer in the
13256338Sdes#    documentation and/or other materials provided with the distribution.
14256338Sdes#
15256338Sdes# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16256338Sdes# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17256338Sdes# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18256338Sdes# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19256338Sdes# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20256338Sdes# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21256338Sdes# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22256338Sdes# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23256338Sdes# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24256338Sdes# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25256338Sdes# SUCH DAMAGE.
26256338Sdes#
27256338Sdes# $FreeBSD$
28256338Sdes
29256338Sdesdd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1
30