Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-12-02 22:48:37 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-12-02 22:48:37 +0300
commite483d690506c45be28ae05bf8f86e4531b15e460 (patch)
treefc75042ac9b62bc5b3baf83b25749b640c9b8d79
parent1b868a3a0f4f73873d793a4d0f33bddb32bb6c40 (diff)
Solved error on AIX
-rw-r--r--include/tests_networking2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking
index de297add..bb50b497 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -260,7 +260,7 @@
FIND=""
case ${OS} in
AIX)
- FIND=`lscfg -vl ent* | f${GREPBINARY} "Network Address" | ${CUTBINARY} -d"." -f14 | ${AWKBINARY} '{ ctr=1; i=1; while (ctr <= 6) { d[ctr++]=substr($0,i,2);i=i+2 } printf("%s:%s:%s:%s:%s:%s\n",d[1],d[2],d[3],d[4],d[5],d[6]) }'`
+ FIND=`lscfg -vl ent* | ${GREPBINARY} "Network Address" | ${CUTBINARY} -d"." -f14 | ${AWKBINARY} '{ ctr=1; i=1; while (ctr <= 6) { d[ctr++]=substr($0,i,2);i=i+2 } printf("%s:%s:%s:%s:%s:%s\n",d[1],d[2],d[3],d[4],d[5],d[6]) }'`
;;
DragonFly|FreeBSD)
FIND=`${IFCONFIGBINARY} -a | ${AWKBINARY} '{ if ($1=="ether") print $2 }' | ${SORTBINARY} -u`