Skip to content

Instantly share code, notes, and snippets.

@roadtripguy
roadtripguy / OpenWrt detect new device and send to IFTTT
Last active February 3, 2021 01:56 — forked from jwalanta/OpenWrt detect new device and send text message.md
Detect new network devices connecting to OpenWrt and send text message
#!/bin/sh
# script to detect new dhcp lease
# this will be called by dnsmasq everytime a new device is connected
# with the following arguments