10 lines
227 B
Bash
Executable File
10 lines
227 B
Bash
Executable File
#! /bin/sh
|
|
exec 2>&1
|
|
cd /var/service/dnscache.forwarder/
|
|
# Ensure that dnscache has source of randomness to initialise its source
|
|
# port RNG
|
|
test -f ./seed || /bin/dd if=/dev/urandom bs=128 count=1 of=seed
|
|
exec<./seed
|
|
exit 0
|
|
|