* Sat Mar 01 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- move to full systemd units [SME: 12878]
This commit is contained in:
9
root/sbin/e-smith/systemd/dnscache.forwarder-pre
Executable file
9
root/sbin/e-smith/systemd/dnscache.forwarder-pre
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /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
|
||||
|
Reference in New Issue
Block a user