diff --git a/etc/rc.d/cleanvar b/etc/rc.d/cleanvar index 9b708fb5c8c4..68e03bdc1119 100644 --- a/etc/rc.d/cleanvar +++ b/etc/rc.d/cleanvar @@ -59,7 +59,7 @@ cleanvar_start () if [ -d /var/run -a ! -f /var/run/clean_var ]; then purgedir /var/run # And an initial utmp file - (cd /var/run && cp /dev/null utmp && chmod 644 utmp;) + (cd /var/run && cp /dev/null utmp && chmod 644 utmp) >/var/run/clean_var fi if [ -d /var/spool/lock -a ! -f /var/spool/lock/clean_var ]; then diff --git a/etc/rc.d/initrandom b/etc/rc.d/initrandom index a336cb85ef30..fb15064d0c84 100644 --- a/etc/rc.d/initrandom +++ b/etc/rc.d/initrandom @@ -53,7 +53,7 @@ initrandom_start() # harvesting rate. # Entropy below is not great, but better than nothing. # This unblocks the generator at startup - ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww; ) \ + ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \ | dd of=/dev/random bs=8k 2>/dev/null cat /bin/ls | dd of=/dev/random bs=8k 2>/dev/null