From 3434bf29aa4ea3a848293ede000980b42e1f27fd Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 1 Oct 2016 14:41:03 -0400 Subject: [PATCH] made the log file search range larger --- scripts/system/find_dhcp_unassigned.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/find_dhcp_unassigned.sh b/scripts/system/find_dhcp_unassigned.sh index 6abc1c71..b8b6179a 100644 --- a/scripts/system/find_dhcp_unassigned.sh +++ b/scripts/system/find_dhcp_unassigned.sh @@ -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 -- 2.34.1