point update

This commit is contained in:
2015-08-27 20:57:45 -04:00
parent b2c9fc731a
commit 2870866232
13 changed files with 21 additions and 357 deletions

View File

@@ -51,7 +51,7 @@ date
if [ -n "${DEFROUTEIF}" ];
then
IPADDR=$(ip a s dev ${DEFROUTEIF} | egrep '^[[:space:]]*inet\ ' | awk '{print $2}' | cut -f1 -d"/")
HWADDR=$(ip l show dev ${DEFROUTEIF} | egrep '^[[:space:]]*link\ ' | awk '{print $2}')
HWADDR=$(ip l show dev ${DEFROUTEIF} | egrep '^[[:space:]]*link' | awk '{print $2}')
echo
echo -n "${DEFROUTEIF} (${HWADDR}) is: ${IPADDR}"
fi