Stuff And Things
IFACE=${2-ppp0}sudo ifup ${3-uk1} >/dev/null 2>&1sudo route ${1-add} default gw `sudo ifconfig ${IFACE} | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` 2>&1
No comments:
Post a Comment