update comments

This commit is contained in:
Tobias Powalowski 2024-08-31 20:46:00 +02:00
parent 572336da4f
commit 7ebaeea9fb

View file

@ -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