Pakfire und startklips Fixes.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@714 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-07-20 15:10:19 +00:00
parent 9ced24a858
commit c03dce35a1
2 changed files with 4 additions and 4 deletions

View File

@@ -21,12 +21,12 @@
- print "otheraddr=" other
- print "mask=" $NF
- }'`
+ eval `ip addr show red0 | awk '$1 == "inet" { gsub(/\//, " ");
+ eval `ip addr show $phys | awk '$1 == "inet" { gsub(/\//, " ");
+ print "addr=" $2;
+ print "mask=" $3;
+ print "otheraddr=" $5;
+ }'`
+ eval `ip addr show red0 | awk '$3 ~ /BROADCAST|POINTTOPOINT/ {
+ eval `ip addr show $phys | awk '$3 ~ /BROADCAST|POINTTOPOINT/ {
+ if ($3 ~ /BROADCAST/)
+ print "type=broadcast";
+ else if ($3 ~ /POINTTOPOINT/)