From 89ceeaa3248cdbadd984b44ca472b346ae5052d2 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Jul 2026 10:37:16 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 2c768bd..2ba23b8 100755 --- a/defaults.inc +++ b/defaults.inc @@ -9,7 +9,7 @@ noupdate=' ' default_interface="$(ip route 2>/dev/null | awk '/^default/ { print $5; exit }')" if [[ -n "$default_interface" ]]; then - RNIP="$(ip -4 -o addr show dev "$default_interface" scope global 2>/dev/null | awk '{ sub(/\\/.*/, "", $4); print $4; exit }')" + RNIP="$(ip -4 -o addr show dev "$default_interface" scope global 2>/dev/null | awk '{ sub(/\/.*/, "", $4); print $4; exit }')" else RNIP="" fi @@ -43,4 +43,3 @@ fi # wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg # apt-get update # fi -