<div dir="ltr"><div>Hi Simon,</div><div>     Thanks for your response, I must have missed the extra arguments, but using those did the trick. Thanks for your help.</div><div><br></div><div>ps: I am sorry if this comes in under the wrong thread, emails from your servers don't seem to be making it to Google's servers when sending emails to my address.</div><div><br></div><div>Thanks</div><div>    Taylor Fox<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 6 Sept 2022 at 17:23, Taylor Fox <<a href="mailto:taylor@foxt.dev">taylor@foxt.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>     I am trying to write a script for logging & notification whenever a new DHCP lease is issued, and I currently have a script that uses the `dnsmasq_client_id` environment variable to get the MAC address of the device that the lease was issued, but I have had an issue where on some device that variable is not present and causes the script to fail. Could anyone shed a light on why this is not working? Otherwise, any better way of finding the MAC address other than diffing /etc/dhcp.leases.</div><div><br></div><div><br></div><div>Thanks in advance.<br></div></div>
</blockquote></div>