mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
reuse sleep, it does not status 1 on exit than read -r -t
This commit is contained in:
parent
5886337161
commit
b8eef886a6
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ _run ()
|
|||
_map _binary bash blkid bsdcpio cat cp cut dialog echo env find grep \
|
||||
gzip halt head init journalctl kmod ln loadkeys logger ls{,blk,mod} \
|
||||
mkdir mkfs.btrfs modprobe less mount mountpoint mv poweroff \
|
||||
realpath reboot rg rm setfont sh shutdown sulogin systemctl \
|
||||
realpath reboot rg rm setfont sh shutdown sleep sulogin systemctl \
|
||||
systemd-tmpfiles udevadm umount uname
|
||||
# rdinit= kernel parameter defaults to /init
|
||||
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/init/main.c
|
||||
|
|
|
@ -45,7 +45,7 @@ update-activation-environment,uuidgen} dd df dir du dust exa eza false fd fzf fz
|
|||
nano nologin nss-config od p11-kit pk12util pam_timestamp_check pacman{,-conf,-key,-db-upgrade} \
|
||||
passwd pgrep pidof pinentry{,-curses} pk{action,check,exec,ttyagent} pluginviewer printf procs ps pwd \
|
||||
rmdir sasldblistusers2 saslpasswd2 tr true repo-{add,elephant,remove} rbash rg rmmod sd sed secret-tool \
|
||||
shlibsign sign{tool,ver} sleep sort ssltap stat symkeyutil systemd-{ac-power,analyze,ask-password,cat,\
|
||||
shlibsign sign{tool,ver} sort ssltap stat symkeyutil systemd-{ac-power,analyze,ask-password,cat,\
|
||||
cgls,cgtop,confextdelta,detect-virt,escape,firstboot,hwdb,inhibit,machine-id-setup,mount,notify,nspawn,path,\
|
||||
resolve,repartrun,socket-activate,stdio-bridge,sysusers,tty-ask-password-agent,umount,creds,cryptenroll,dissect,\
|
||||
id128,sysext} tar tee testpkg top touch trust tty unix_{chkpwd,update} /usr/lib/dbus-1.0/dbus-daemon-launch-helper \
|
||||
|
|
|
@ -37,7 +37,7 @@ _progress_wait() {
|
|||
_progress "${2}" "${3}"
|
||||
fi
|
||||
_COUNT="$((_COUNT+1))"
|
||||
read -r -t "${4}"
|
||||
sleep "${4}"
|
||||
done
|
||||
}
|
||||
_task() {
|
||||
|
@ -55,7 +55,7 @@ _task() {
|
|||
if [[ -b /dev/sr0 ]]; then
|
||||
mount /dev/sr0 /mnt/cdrom &>/dev/null && break
|
||||
fi
|
||||
read -r -t 1
|
||||
sleep 1
|
||||
_COUNT=$((_COUNT+1))
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue