Use dd to better block the data being sent to /dev/random.
Note: I am not redirecting stdout so that the amount of data being transferred can be seen (22k and 576k currently).
This commit is contained in:
parent
0cb53e2487
commit
b082b24f98
4
etc/rc
4
etc/rc
@ -203,10 +203,10 @@ yes)
|
|||||||
# Entropy below is not great,
|
# Entropy below is not great,
|
||||||
# but better than nothing.
|
# but better than nothing.
|
||||||
(ps -gauxwww; iostat; vmstat; sysctl -a;
|
(ps -gauxwww; iostat; vmstat; sysctl -a;
|
||||||
dmesg) > /dev/random 2> /dev/random
|
dmesg) | /bin/dd of=/dev/random bs=8k
|
||||||
( for i in /etc /var/run ; do
|
( for i in /etc /var/run ; do
|
||||||
cd $i ; ls -al ; cat *
|
cd $i ; ls -al ; cat *
|
||||||
done ) > /dev/random 2> /dev/random
|
done ) | /bin/dd of=/dev/random bs=8k
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user