enovance/edeploy-lxc — pull request #2 by sbadia (2014-01-27 12:16:29+00:00)
Title: Fix get default route if (close GH-1)

If a VPN is mounted another default route exist (with a different metric)

❯ sudo ./firewall.sh
Bad argument `link'
Try `iptables -h' or 'iptables --help' for more information.
❯ ip -4 r|awk '/^default/ {print $5}'
wlan0
link
❯ ip -4 r |head -2
default via 192.168.1.1 dev wlan0
default dev eth0 scope link metric 1002