File: 005_awkpath

package info (click to toggle)
arpwatch 2.1a15-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,984 kB
  • sloc: sh: 3,047; ansic: 2,811; makefile: 90; awk: 90; perl: 15
file content (14 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: installed arpwatch's *.awk scripts into /usr/lib/arpwatch
 and edited massagevendor to set AWKPATH before running awk
Author: Craig Sanders <cas@taz.net.au>

--- a/massagevendor
+++ b/massagevendor
@@ -9,6 +9,7 @@
 #
 # - Deal with duplicates in oui.txt (concatenate company names)
 #
+export AWKPATH="$AWKPATH:/usr/lib/arpwatch"
 (sed -n \
     -e 's/^\([0-9A-F][0-9A-F]\)-\([0-9A-F][0-9A-F]\)-\([0-9A-F][0-9A-F]\)  *(hex)[ 	]*\(..*\)/\1\2\3	\4/p' \
     $* | \