1 |
--- e-smith-imap-2.2.0/root/var/service/imap/run.urandom 2008-10-07 11:35:56.000000000 -0600 |
2 |
+++ e-smith-imap-2.2.0/root/var/service/imap/run 2008-11-24 15:49:05.000000000 -0700 |
3 |
@@ -1,10 +1,8 @@ |
4 |
#!/bin/sh |
5 |
|
6 |
exec 2>&1 |
7 |
-# Ensure that PRNG is adequately seeded. |
8 |
-[ -s ./ssl/seed ] ||\ |
9 |
- /bin/dd if=/dev/urandom of=./ssl/seed bs=1k count=1 |
10 |
-chown stunnel.stunnel ./ssl/seed |
11 |
+# Ensure that urandom device exists |
12 |
+[ -c ssl/dev/urandom ] || mknod ssl/dev/urandom c 1 9 |
13 |
# Configure ACLs |
14 |
./control/1 |
15 |
. ./config |
16 |
@@ -25,7 +22,6 @@ |
17 |
-g "$SSLGID" \ |
18 |
-N imap \ |
19 |
-i \ |
20 |
- -R seed \ |
21 |
-p imapd.pem \ |
22 |
-n imap- \ |
23 |
-f \ |