From 2e2b00254a2b32478ff9a658c98ab05cde80e347 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 25 Jul 1999 19:32:17 +0000 Subject: [PATCH] silence chmod too, for non-writeable /var; fries --- src/etc/rc.shutdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.shutdown b/src/etc/rc.shutdown index 4431d357..c0e59f28 100644 --- a/src/etc/rc.shutdown +++ b/src/etc/rc.shutdown @@ -1,4 +1,4 @@ -# $OpenBSD: rc.shutdown,v 1.3 1999/07/20 16:51:04 deraadt Exp $ +# $OpenBSD: rc.shutdown,v 1.4 1999/07/25 19:32:17 deraadt Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). @@ -10,7 +10,7 @@ echo /etc/rc.shutdown in progress... # save part of our entropy pool for reuse on reboot dd if=/dev/urandom of=/var/db/host.random bs=1024 count=64 >/dev/null 2>&1 -chmod 600 /var/db/host.random +chmod 600 /var/db/host.random >/dev/null 2>&1 # # Your shell code goes here