projects
/
alioth
/
early-rng-init-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135a9bb
)
another possibility, if only for the MAC addresses only
author
mirabilos
<t.glaser@tarent.de>
Sun, 27 Oct 2019 14:57:23 +0000
(15:57 +0100)
committer
mirabilos
<mirabilos@evolvis.org>
Sun, 27 Oct 2019 14:57:23 +0000
(15:57 +0100)
scripts/early-rng-init-tools_bottom
patch
|
blob
|
history
diff --git
a/scripts/early-rng-init-tools_bottom
b/scripts/early-rng-init-tools_bottom
index
bd5634b
..
3ae32c1
100755
(executable)
--- a/
scripts/early-rng-init-tools_bottom
+++ b/
scripts/early-rng-init-tools_bottom
@@
-18,7
+18,8
@@
extraseed=$(cat /etc/early-rng-init-tools.extraseed)
# perhaps use a CRC or cut off several chars from the result
# to reduce length further? what utilities for that does klibc ship?
#
-# perhaps add /sbin/ip a (busybox, iff present)
+# perhaps add /sbin/ip a (busybox, iff present) or
+#for device in /sys/class/net/*; do echo "$device//$(cat "$device/address" 2>&1)"; done
dmesgseed=$(exec 2>/dev/null; dmesg | md5sum)
_log_msg "Info: %s\\n" "Loading initial entropy from platter..."