X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Ffind_dhcp_unassigned.sh;h=6abc1c71cbe2f49d3c0fa667ab5843acd9f93e1b;hb=546d89a985ece7dcf4c4080383287635efe6e131;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..6abc1c71 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 500 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less