diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index ec057ea..a048b10 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -16,7 +16,7 @@ then exit 0 fi DIRDIR=$(pwd) -LOCAL_IP=$(ip a | grep inet | grep "eth0\|en" | awk '{print $2}' | tr '/' ' ' | awk '{print $1}') +LOCAL_IP=$(hostname -I | awk '{print $1}') INFREF=https://n5amd.com/digital-radio-how-tos/create-xlx-xrf-d-star-reflector/ XLXDREPO=https://github.com/LX3JL/xlxd.git DMRIDURL=http://xlxapi.rlx.lu/api/exportdmr.php