blob: 56808c6d0bc1dad91c42ee66bef5d050478fd227 (
plain)
- # You should not edit this file. Instead, create a file with the same
- # name as this one, but with a .rul extension instead of .def. The
- # .rul file will override this one.
- #
- # However, any changes you make to this file will be preserved.
- #
- # Correction:
- # Ignore irda interfaces as well.
- # Jonas Smedegaard <dr@jones.dk> Sat, 17 Jun 2000 15:10:17 +0200
- # find interface names
- EXTERNAL=$(default-if | sort -u)
- INTERNAL=$(enumerate-if | sort -u | grep -v lo | grep -v irda)
- if [ -n "$EXTERNAL" ]; then
- for i in $EXTERNAL; do
- INTERNAL=$(echo $INTERNAL | sed -e s/$i//)
- done
- fi
|