Mercurial > hg > dhcpcd
view dhcpcd-hooks/01-test @ 2872:95be45730a6e draft dhcpcd-6.6.4
Report selected profile
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 26 Nov 2014 15:34:35 +0000 |
| parents | adfc2df367a7 |
| children | e8051f48889b |
line wrap: on
line source
# Just echo our DHCP options we have if [ "$reason" = "TEST" ]; then set | grep "^\(interface\|pid\|reason\|profile\|skip_hooks\)=" | sort set | grep "^if\(carrier\|flags\|mtu\|wireless\|ssid\)=" | sort set | grep "^\(new_\|old_\|ra_count=\|ra[0-9]*_\)" | sort exit 0 fi
