From 10d59bdcbb72ddd9857f12a2e06e71385f51faec Mon Sep 17 00:00:00 2001 From: Ben <43531228+n5amd@users.noreply.github.com> Date: Sun, 26 May 2024 00:08:39 -0400 Subject: [PATCH] Update xlxd-debian-installer.sh simplified the IP variable --- xlxd-debian-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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