I have checked the version of ifconfig, it blongs to package
net-tools.
only the latest version 1.60.20110819cvs-1 have the : after Interface
name. In this version, the output format of ifconfig has changed.
On Fri, 2011-11-04 at 10:50 +0800, 倪庆亮 wrote:
file: scripts/runqemu-internal
line153:
On Fri, 2011-11-04 at 17:58 +0800, Ni Qingliang wrote:
I have checked the version of ifconfig, it blongs to package
net-tools.
only the latest version 1.60.20110819cvs-1 have the : after Interface
name. In this version, the output format of ifconfig has changed.
Parsing the output of
file: scripts/runqemu-internal
line153: POSSIBLE=`$IFCONFIG -a|grep '^tap' | awk `{print $1}'`
on archlinux, I got that:
tap0:
tap1:
maybe it should be:
tap0
tap1
Is it right?
so I change it to
POSSIBLE=`$IFCONFIG -a|grep '^tap' | awk `{print $1}' | sed 's/:$//'`
--
Yi Qingliang