projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
closer to remove domain working
[feisty_meow.git]
/
scripts
/
system
/
find_dhcp_unassigned.sh
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