Updated trap.functions

This commit is contained in:
Eric Renfro 2013-07-31 10:29:43 -04:00
parent e1b91843df
commit f8a36fa773
1 changed files with 1 additions and 4 deletions

View File

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