diff -uNr ifolder3-enterprise-3.9.1.7638.orig/src/core/ifdata ifolder3-enterprise-3.9.1.7638/src/core/ifdata --- ifolder3-enterprise-3.9.1.7638.orig/src/core/ifdata 2013-04-18 05:15:38.018388777 +0200 +++ ifolder3-enterprise-3.9.1.7638/src/core/ifdata 2013-04-18 05:18:12.984451434 +0200 @@ -4,6 +4,10 @@ then /sbin/ifconfig | grep '\' | cut -f2 -d' ' | cut -f1 -d' ' else - /sbin/ifconfig | grep 'inet addr' | cut -f2 -d':' | cut -f1 -d' ' + if [ -f /sbin/ip ] ; then + /sbin/ip addr | awk '/inet / {sub(/\/.*/, "", $2); print $2}' + else + /sbin/ifconfig | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}' + fi fi