1*dfc23ba5SDag-Erling Smørgrav#!/bin/sh 2*dfc23ba5SDag-Erling Smørgrav#- 3*dfc23ba5SDag-Erling Smørgrav# Copyright (c) 2013 Dag-Erling Smørgrav 4*dfc23ba5SDag-Erling Smørgrav# All rights reserved. 5*dfc23ba5SDag-Erling Smørgrav# 6*dfc23ba5SDag-Erling Smørgrav# Redistribution and use in source and binary forms, with or without 7*dfc23ba5SDag-Erling Smørgrav# modification, are permitted provided that the following conditions 8*dfc23ba5SDag-Erling Smørgrav# are met: 9*dfc23ba5SDag-Erling Smørgrav# 1. Redistributions of source code must retain the above copyright 10*dfc23ba5SDag-Erling Smørgrav# notice, this list of conditions and the following disclaimer. 11*dfc23ba5SDag-Erling Smørgrav# 2. Redistributions in binary form must reproduce the above copyright 12*dfc23ba5SDag-Erling Smørgrav# notice, this list of conditions and the following disclaimer in the 13*dfc23ba5SDag-Erling Smørgrav# documentation and/or other materials provided with the distribution. 14*dfc23ba5SDag-Erling Smørgrav# 15*dfc23ba5SDag-Erling Smørgrav# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*dfc23ba5SDag-Erling Smørgrav# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*dfc23ba5SDag-Erling Smørgrav# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*dfc23ba5SDag-Erling Smørgrav# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*dfc23ba5SDag-Erling Smørgrav# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*dfc23ba5SDag-Erling Smørgrav# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*dfc23ba5SDag-Erling Smørgrav# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*dfc23ba5SDag-Erling Smørgrav# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*dfc23ba5SDag-Erling Smørgrav# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*dfc23ba5SDag-Erling Smørgrav# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*dfc23ba5SDag-Erling Smørgrav# SUCH DAMAGE. 26*dfc23ba5SDag-Erling Smørgrav# 27*dfc23ba5SDag-Erling Smørgrav# $FreeBSD$ 28*dfc23ba5SDag-Erling Smørgrav 29*dfc23ba5SDag-Erling Smørgravdd if=/dev/random of=$BSDINSTALL_CHROOT/entropy bs=4096 count=1 30