quoted a string.
[feisty_meow.git] / scripts / system / find_dhcp_unassigned.sh
index 0983bf207802a43b4354dafe85d6cd88df028ade..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
-grep -i "dhcp.*2[4-5][0-9]" "$logfile" | less
+tail -n 2000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less