On 2014-08-16, Christian Weisgerber <na...@mips.inka.de> wrote: > How about making etc/random.seed a named pipe and feeding chunks > of /dev/random to it?
I've now put this into my /etc/rc.local: -------------------> # Provide fresh random.seed for pxeboot if cd /tftpboot/etc; then rm -f random.seed mkfifo random.seed # do not fill up filesystem if the FIFO disappears # dd of= does not block on open sh -c 'while [ -p random.seed ]; do dd count=1 >random.seed; done' \ </dev/random 2>/dev/null & fi <------------------- * It blocks until random.seed is read. * It doesn't run amok if random.seed is accidentally removed. * It's easy to identify with ps(1). -- Christian "naddy" Weisgerber na...@mips.inka.de