mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
4 lines
No EOL
166 B
Bash
4 lines
No EOL
166 B
Bash
#!/bin/bash
|
|
|
|
IP=$(ip addr show wlan0 | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1)
|
|
curl -s 'https://www.duckdns.org/update?domains=<DOMAIN>&token=<TOKEN>&ip='$IP |