From d85ba82a0581cb04d3b6bbf389a0a1626b3b8eb7 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 31 Aug 2024 14:58:22 +0200 Subject: [PATCH] add custom autorun script support --- usr/lib/archboot/login.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index 3642e5f81..3cff6d049 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -111,7 +111,7 @@ _run_update_installer() { _run_autorun() { if rg -q 'autorun=' /proc/cmdline && [[ ! -e "${_LOCAL_DB}" ]]; then - _REMOTE_AUTORUN="$(rg -o 'autorun=(.*sh)' -r '$1' /proc/cmdline)" + _REMOTE_AUTORUN="$(rg -o 'autorun=(.*/.*sh)' -r '$1' /proc/cmdline)" echo -n "Trying 30 seconds to download ${_REMOTE_AUTORUN}..." _COUNT="" while true; do