mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
better check on script
This commit is contained in:
parent
ac95416160
commit
289e81ab09
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ _run_update_installer() {
|
||||||
|
|
||||||
_run_autorun() {
|
_run_autorun() {
|
||||||
if rg -q 'autorun=' /proc/cmdline && [[ ! -e "${_LOCAL_DB}" ]]; then
|
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=(.*)' -r '$1' /proc/cmdline | sd ' .*' '')"
|
||||||
echo -n "Trying 30 seconds to download ${_REMOTE_AUTORUN}..."
|
echo -n "Trying 30 seconds to download ${_REMOTE_AUTORUN}..."
|
||||||
_COUNT=""
|
_COUNT=""
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Reference in a new issue