mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
update comments
This commit is contained in:
parent
572336da4f
commit
7ebaeea9fb
1 changed files with 2 additions and 1 deletions
|
@ -110,7 +110,7 @@ _run_update_installer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_run_autorun() {
|
_run_autorun() {
|
||||||
# check on cmdline, don't run on local image, only run autorun once!
|
# check on cmdline parameter, don't run on local image
|
||||||
if rg -q 'autorun=' /proc/cmdline && [[ ! -e "${_LOCAL_DB}" ]]; then
|
if rg -q 'autorun=' /proc/cmdline && [[ ! -e "${_LOCAL_DB}" ]]; then
|
||||||
: > /.autorun
|
: > /.autorun
|
||||||
clear
|
clear
|
||||||
|
@ -165,6 +165,7 @@ if [[ "${_TTY}" = "tty1" ]] ; then
|
||||||
# initialize pacman keyring
|
# initialize pacman keyring
|
||||||
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl start pacman-init
|
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl start pacman-init
|
||||||
fi
|
fi
|
||||||
|
# only run autorun.sh once!
|
||||||
! [[ -e /.autorun ]] && _run_autorun
|
! [[ -e /.autorun ]] && _run_autorun
|
||||||
fi
|
fi
|
||||||
# start bottom on VC6
|
# start bottom on VC6
|
||||||
|
|
Loading…
Reference in a new issue