projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5823d3
)
made the log file search range larger
author
Chris Koeritz
<fred@gruntose.com>
Sat, 1 Oct 2016 18:41:03 +0000
(14:41 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 1 Oct 2016 18:41:03 +0000
(14:41 -0400)
scripts/system/find_dhcp_unassigned.sh
patch
|
blob
|
history
diff --git
a/scripts/system/find_dhcp_unassigned.sh
b/scripts/system/find_dhcp_unassigned.sh
index 6abc1c71cbe2f49d3c0fa667ab5843acd9f93e1b..b8b6179a6e0cf0814b054043ed636842027997cb 100644
(file)
--- 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
5
00 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less
+tail -n
20
00 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less