1# Echo the interface flags, reason and message options 2 3if [ "$reason" = "TEST" ]; then 4 set | grep \ 5 "^\(interface\|pid\|reason\|protocol\|profile\|skip_hooks\)=" | sort 6 set | grep "^if\(carrier\|flags\|mtu\|wireless\|ssid\)=" | sort 7 set | grep "^\(new_\|old_\|nd[0-9]*_\)" | sort 8 exit 0 9fi 10