Skip to content

Commit

Permalink
hosts(lt-rpi4): fix gwmp-mux startup issue when internet is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
xddxdd committed Jan 11, 2025
1 parent b6b308a commit 4c0cd9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hosts/lt-rpi4/lora/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ in
wantedBy = [ "multi-user.target" ];

script = ''
set -euo pipefail
TTN_IP=$(${pkgs.dnsutils}/bin/dig +short nam1.cloud.thethings.network | head -n1)
sleep infinity | ${gwmp-mux}/bin/gwmp-mux \
Expand Down

0 comments on commit 4c0cd9f

Please sign in to comment.