2023-07-12 08:51:05 +01:00
|
|
|
#! /bin/sh
|
|
|
|
exec 2>&1
|
2025-03-04 22:51:37 -05:00
|
|
|
cd /var/service/dnscache.forwarder/
|
2023-07-12 08:51:05 +01:00
|
|
|
# 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
|
2025-03-04 22:51:37 -05:00
|
|
|
exit 0
|
2023-07-12 08:51:05 +01:00
|
|
|
|