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:
5757974
)
showing more lines of history now
author
Chris Koeritz
<fred@gruntose.com>
Sat, 17 Sep 2022 14:28:34 +0000
(10:28 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 17 Sep 2022 14:28:34 +0000
(10:28 -0400)
previous print out was anemic.
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 b8b6179a6e0cf0814b054043ed636842027997cb..99cd810a5019c3ee7add226299e5c6c78454e5c0 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
2
000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less
+tail -n
10
000 "$logfile" | grep -i "dhcp.*2[4-5][0-9]" | less