mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 03:20:38 +02:00
clear tty before running autorun.sh
This commit is contained in:
parent
8756844d97
commit
572336da4f
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ _run_autorun() {
|
|||
# check on cmdline, don't run on local image, only run autorun once!
|
||||
if rg -q 'autorun=' /proc/cmdline && [[ ! -e "${_LOCAL_DB}" ]]; then
|
||||
: > /.autorun
|
||||
clear
|
||||
_REMOTE_AUTORUN="$(rg -o 'autorun=(.*)' -r '$1' /proc/cmdline | sd ' .*' '')"
|
||||
echo "Trying 30 seconds to download:"
|
||||
echo -n "${_REMOTE_AUTORUN} --> autorun.sh..."
|
||||
|
|
Loading…
Reference in a new issue