Updated trap.functions

This commit is contained in:
Eric Renfro 2013-07-31 10:29:43 -04:00
parent e1b91843df
commit f8a36fa773

View file

@ -13,7 +13,7 @@ getDefaultIP() {
if [[ -z "$routedev" ]] if [[ -z "$routedev" ]]
then then
echo "" echo "127.0.0.1"
return 1 return 1
else else
local defipaddr=$(ip -o -4 addr show "${routedev}") local defipaddr=$(ip -o -4 addr show "${routedev}")
@ -24,8 +24,5 @@ getDefaultIP() {
echo "${ip}" echo "${ip}"
fi fi
#echo "$routedev"
#echo "${ip}/${mask}"
} }