mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
Revert "Do not use /sbin/ip to fetch the current ip (fix #712)"
This reverts commit 561644f75b
.
This commit is contained in:
parent
24aa18e9ed
commit
2856c10bc3
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "$(grep "$HOSTNAME" /etc/hosts|awk '{print $1}') host.docker.internal" >> /etc/hosts
|
||||
echo "$(/sbin/ip route|awk '/default/ { print $3 }') host.docker.internal" >> /etc/hosts
|
||||
exec dotnet BTCPayServer.dll
|
||||
|
Loading…
Reference in New Issue
Block a user