Skip to content

Instantly share code, notes, and snippets.

View ksverdlov's full-sized avatar

Konstantin Sverdlov ksverdlov

  • Ekaterinburg, Russia
View GitHub Profile
@ksverdlov
ksverdlov / boot_alert.sh
Last active October 13, 2022 10:28 — forked from joshspicer/boot_alert.sh
[OpenWrt] Telegram alert when a new wireless device associates with access point. (http://spcr.me/openwrt-alert)
#!/bin/sh
# Alerts via telegram after OpenWRT reboot, start monitoring and list of currently connected wireless devices.
# write-up at: spcr.me/openwrt-alert
# Some modifications: https://gist.github.com/ksverdlov/33a26fed4c4413171171de86ba59c74f
# ~ note ~
# Call from in /etc/rc.local
APIKEY=<YOUR_BOT_API_KEY_HERE>