X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Ffind_dhcp_unassigned.sh;fp=scripts%2Fsystem%2Ffind_dhcp_unassigned.sh;h=6abc1c71cbe2f49d3c0fa667ab5843acd9f93e1b;hb=8aa4cc2c19e208289b31a979a37ecfb7dd100403;hp=0983bf207802a43b4354dafe85d6cd88df028ade;hpb=ba28d2f288ebee1cb658c45443dea3cf9eeb95f5;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