Thanks, Philip! Two questions:
- It looks like this patch would stop renewing leases for *all* interfaces if *any* interface is using a VPN.
- This looks very complicated to me:
[ -n "( ifconfig -s | awk ' ( $1 ~ /^(tun|cipsec)/ ) {print $1}' )"]
I'm no awk guru, but isn't that the same as
ifconfig -s | egrep -q '^(tun|cipsec' ?
Thanks, Philip! Two questions:
- It looks like this patch would stop renewing leases for *all* interfaces if *any* interface is using a VPN.
- This looks very complicated to me:
[ -n "( ifconfig -s | awk ' ( $1 ~ /^(tun|cipsec)/ ) {print $1}' )"]
I'm no awk guru, but isn't that the same as
ifconfig -s | egrep -q '^(tun|cipsec'
?