Always give ppp a defaultmetric

This commit is contained in:
Roy Marples
2007-08-07 21:01:16 +00:00
parent 3295a9c0e0
commit 2fdff9d8d6
3 changed files with 13 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ _ifindex() {
"${IFACE}:"*) echo "${i}"; return 0;;
esac
done < /proc/net/dev
# Return the next available index
i=$((${i} + 1))
echo "${i}"
return 1
}