Skip to content

Commit 228b33b

Browse files
committed
. e updated vi server IPs
1 parent 6712f29 commit 228b33b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/prep_ini_file.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4+
ip=$(cat /etc/hosts | egrep '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' | egrep -v 127.0.[0-9]+.1 | cut -f 1 | uniq | head -n 1)
5+
6+
47
INI_DIR="$HOME/natinst/.config/LabVIEW-2026"
58
INI_FILES=(
69
"$INI_DIR/labview.ini"
@@ -43,7 +46,7 @@ VALUES=(
4346
"False"
4447
"True"
4548
"True"
46-
"*"
49+
"*, localhost, 127.0.0.1, $ip"
4750
"3363"
4851
"*"
4952
"True"

0 commit comments

Comments
 (0)