On Wednesday 12 December 2007, Joey Hess wrote: > iface=$(ip route | grep '^default' | cut -d ' ' -f 5) > if ls -l /sys/class/net/$iface/device | grep -q ixp4xx_mac; then Wouldn't using readlink be more logical?
Attachment:
signature.asc
Description: This is a digitally signed message part.