X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Ffind_dhcp_unassigned.sh;h=b8b6179a6e0cf0814b054043ed636842027997cb;hb=cc4dd0594f5ddaede3ba2667c29baac1ff898803;hp=0983bf207802a43b4354dafe85d6cd88df028ade;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/system/find_dhcp_unassigned.sh b/scripts/system/find_dhcp_unassigned.sh index 0983bf20..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 -grep -i "dhcp.*2[4-5][0-9]" "$logfile" | less +tail -n 2000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less