Compare commits
2 commits
c925026183
...
b8a2c3c10d
| Author | SHA1 | Date | |
|---|---|---|---|
| b8a2c3c10d | |||
| 421a389bdb |
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ in {
|
|||
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
usev4 = "webv4, webv4=dynamicdns.park-your-domain.com/getip";
|
||||
usev4 = "webv4, webv4=https://api.ipify.org";
|
||||
usev6 = "";
|
||||
protocol = "namecheap";
|
||||
server = "dynamicdns.park-your-domain.com";
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
text = ''
|
||||
# Based on https://github.com/tailscale/tailscale/issues/11504#issuecomment-2113331262
|
||||
echo Waiting for tailscale0 to get an IP adress..
|
||||
for i in {1..120}; do
|
||||
for i in {1..240}; do
|
||||
if ip addr show dev tailscale0 | grep -q 'inet '; then break; fi
|
||||
echo "Waiting $i/120 seconds"
|
||||
echo "Waiting $i/240 seconds"
|
||||
sleep 1
|
||||
done
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue