made the log file search range larger
authorChris Koeritz <fred@gruntose.com>
Sat, 1 Oct 2016 18:41:03 +0000 (14:41 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 1 Oct 2016 18:41:03 +0000 (14:41 -0400)
scripts/system/find_dhcp_unassigned.sh

index 6abc1c71cbe2f49d3c0fa667ab5843acd9f93e1b..b8b6179a6e0cf0814b054043ed636842027997cb 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 500 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less
+tail -n 2000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less