I agree with the fix proposed in comment #6, though I question the dependency on the "ip" utility (from package "iproute") and using bash- specific syntax, vs. the more standard "route" command (from "net- tools") e.g.:
switch=`route | awk '/^default / { print $8 }'` Also I would caution against assuming which front-end GUI is being used, if any (I use none). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/475327 Title: qemu -net nic -net tap does not start due to qemu-ifXXX scripts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/475327/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs