stuff
This commit is contained in:
10
.local/bin/duck.sh
Executable file
10
.local/bin/duck.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
duckdnsdir="$HOME/.local/share/duckdns"
|
||||
logfile="$duckdnsdir/duck.log"
|
||||
|
||||
mkdir -p "$duckdnsdir"
|
||||
|
||||
echo "[$(date)] Updating DuckDNS..." >> "$logfile"
|
||||
curl -k -s "https://www.duckdns.org/update?domains=lasthomelyhouse&token=c4b7e773-b049-4207-a6c3-e7a153d78ad0&ip=" >> "$logfile"
|
||||
echo "" >> "$logfile"
|
||||
Reference in New Issue
Block a user