showing more lines of history now
authorChris Koeritz <fred@gruntose.com>
Sat, 17 Sep 2022 14:28:34 +0000 (10:28 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 17 Sep 2022 14:28:34 +0000 (10:28 -0400)
previous print out was anemic.

scripts/system/find_dhcp_unassigned.sh

index b8b6179a6e0cf0814b054043ed636842027997cb..99cd810a5019c3ee7add226299e5c6c78454e5c0 100644 (file)
@@ -8,5 +8,5 @@ if [ ! -s "$logfile" ]; then
   # a simple fail over that's not guaranteed to work.
   logfile="/var/log/syslog"
 fi
-tail -n 2000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less
+tail -n 10000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less