Revision 3ef10550 lib/backend.py
b/lib/backend.py | ||
---|---|---|
170 | 170 |
if hyp_info is not None: |
171 | 171 |
outputarray.update(hyp_info) |
172 | 172 |
|
173 |
f = open("/proc/sys/kernel/random/boot_id", 'r') |
|
174 |
try: |
|
175 |
outputarray["bootid"] = f.read(128).rstrip("\n") |
|
176 |
finally: |
|
177 |
f.close() |
|
178 |
|
|
173 | 179 |
return outputarray |
174 | 180 |
|
175 | 181 |
|
Also available in: Unified diff