diff options
Diffstat (limited to 'builder/modules.d/wlan-boot/scripts/dhcpcd-hooks/01-test')
-rwxr-xr-x | builder/modules.d/wlan-boot/scripts/dhcpcd-hooks/01-test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/builder/modules.d/wlan-boot/scripts/dhcpcd-hooks/01-test b/builder/modules.d/wlan-boot/scripts/dhcpcd-hooks/01-test new file mode 100755 index 00000000..d4cf8281 --- /dev/null +++ b/builder/modules.d/wlan-boot/scripts/dhcpcd-hooks/01-test @@ -0,0 +1,8 @@ +# Echo the interface flags, reason and message options + +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_\|nd[0-9]*_\)" | sort + exit 0 +fi |