update.sh: Delete .rnd files

Message ID 20190202074612.13579-1-ummeegge@ipfire.org
State Accepted
Commit b4285088a121f71048870061de2c388d747ae3a2
Headers
Series update.sh: Delete .rnd files |

Commit Message

ummeegge Feb. 2, 2019, 6:46 p.m. UTC
  Since RANDFILE has been disabled in OpenSSL configurations, .rnd files are not needed anymore.

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
---
 config/rootfiles/core/128/update.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
  

Patch

diff --git a/config/rootfiles/core/128/update.sh b/config/rootfiles/core/128/update.sh
index 8eacdd9eb..71824266b 100644
--- a/config/rootfiles/core/128/update.sh
+++ b/config/rootfiles/core/128/update.sh
@@ -36,7 +36,13 @@  done
 # Remove files
 rm -vf \
 	/usr/lib{,/sse2}/libcrypto.so.10 \
-	/usr/lib{,/sse2}/libssl.so.10
+	/usr/lib{,/sse2}/libssl.so.10 \
+	/home/nobody/.rnd \
+	/var/ipfire/ovpn/ca/.rnd \
+	/var/tmp/.rnd \
+	/.rnd \
+	/root/.rnd
+
 
 # Extract files
 extract_files