initial commit of file from CVS for e-smith-radiusd on Wed 12 Jul 09:08:31 BST 2023
This commit is contained in:
10
root/sbin/e-smith/systemd/radiusd-configure
Normal file
10
root/sbin/e-smith/systemd/radiusd-configure
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Ensure that PRNG is adequately seeded.
|
||||
[ -s /etc/raddb/certs/dh ] ||\
|
||||
/usr/local/bin/envuidgid stunnel \
|
||||
/usr/bin/openssl gendh > /etc/raddb/certs/dh
|
||||
[ -s /etc/raddb/certs/random ] ||\
|
||||
/usr/local/bin/envuidgid stunnel \
|
||||
/bin/dd if=/dev/urandom of=/etc/raddb/certs/random bs=1k count=1
|
||||
|
Reference in New Issue
Block a user