From d0ca3ac278f99d5fb381ff2459746465896d715a Mon Sep 17 00:00:00 2001 From: simianspaceman Date: Sun, 5 Jan 2025 10:12:35 -0500 Subject: [PATCH] Update run.sh to include lowercase I in hostname. hostname -I is invalid. lowercase -i added to hostname to allow for proper execution/ --- casaos-add-lan-ip-to-nextcloud-config/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casaos-add-lan-ip-to-nextcloud-config/run.sh b/casaos-add-lan-ip-to-nextcloud-config/run.sh index f1feb70..a571bb7 100644 --- a/casaos-add-lan-ip-to-nextcloud-config/run.sh +++ b/casaos-add-lan-ip-to-nextcloud-config/run.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Get the LAN IP address -lan_ip=$(hostname -I | awk '{print $1}') +lan_ip=$(hostname -i | awk '{print $1}') # Backup the original config.php file cp /DATA/AppData/big-bear-nextcloud/html/config/config.php /DATA/AppData/big-bear-nextcloud/html/config/config.php.bak