From 5ff09e08d3a022a7e8bf9f5fc6d9744257aee48b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 12 Jun 1997 21:46:07 +0200
Subject: [PATCH] Limited the length of the 'last' output.

Rev: lib/modules/Crypto/randomness.pmod:1.4
---
 lib/modules/Crypto/randomness.pmod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/modules/Crypto/randomness.pmod b/lib/modules/Crypto/randomness.pmod
index 9f86a25aff..edd65eec39 100644
--- a/lib/modules/Crypto/randomness.pmod
+++ b/lib/modules/Crypto/randomness.pmod
@@ -14,7 +14,8 @@
 /* Collect somewhat random data from the environment. Unfortunately,
  * this is quite system dependent */
 #define PATH  "/usr/sbin:/usr/etc:/usr/bin/:/sbin/:/etc:/bin"
-#define SYSTEM_COMMANDS "last & netstat -anv & netstat -mv & netstat -sv & " \
+#define SYSTEM_COMMANDS "last -256 & " \
+                        "netstat -anv & netstat -mv & netstat -sv & " \
                         "uptime & ps -fel & ps aux & " \
 			"vmstat -s & vmstat -M & " \
 			"iostat & iostat -cdDItx &"
-- 
GitLab