From e71a9347493ffc06112b8063808423075e5c14f3 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 3 Jul 2023 17:46:17 +0200 Subject: [PATCH] Update autoupdate.yml --- autoupdate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoupdate.yml b/autoupdate.yml index eb1fbf6..be1a95a 100644 --- a/autoupdate.yml +++ b/autoupdate.yml @@ -98,7 +98,7 @@ mac=$(ip addr show $(ip route list | grep default | cut -d" " -f5) | grep "link/ether " | perl -pe 's/.*link\/ether //; s/:/-/g' | cut -d" " -f1) usr=$(getent passwd 1000 | cut -d: -f1) hst=$(hostname | cut -d. -f1 | perl -pe 's/ //g') - curl https://update.$(domainname -d)/${mac}--${usr}--${hst}.sh | bash + curl https://update.$(domainname -f)/${mac}--${usr}--${hst}.sh | bash fi backup: yes validate: /bin/bash -n %s