mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
launch bottom on VC10 and bandwhich on VC9
This commit is contained in:
parent
55b7ac4580
commit
c02ed8e393
3 changed files with 27 additions and 1 deletions
|
@ -63,7 +63,7 @@ id128,sysext} tar tee testpkg top touch trust tty unix_{chkpwd,update} /usr/lib/
|
||||||
fi
|
fi
|
||||||
# add zoxide
|
# add zoxide
|
||||||
echo "eval \"\$(zoxide init bash)\"" >> ${_ROOTFS}/root/.bashrc
|
echo "eval \"\$(zoxide init bash)\"" >> ${_ROOTFS}/root/.bashrc
|
||||||
# add resolve.conf
|
# add resolve.conf symlink
|
||||||
_symlink /etc/resolv.conf ../run/systemd/resolve/stub-resolv.conf
|
_symlink /etc/resolv.conf ../run/systemd/resolve/stub-resolv.conf
|
||||||
# add libsasl
|
# add libsasl
|
||||||
_map _full_dir /usr/lib/{sasl2,girepository-1.0}
|
_map _full_dir /usr/lib/{sasl2,girepository-1.0}
|
||||||
|
|
|
@ -126,6 +126,18 @@ if [[ "${_TTY}" = "tty1" ]] ; then
|
||||||
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl start pacman-init
|
[[ -e /etc/systemd/system/pacman-init.service ]] && systemctl start pacman-init
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
# start bottom on VC10
|
||||||
|
while [[ "${_TTY}" = "tty10" ]] ; do
|
||||||
|
if command -v btm 2>"${_NO_LOG}"; then
|
||||||
|
btm
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
# start bandwhich on VC9
|
||||||
|
while [[ "${_TTY}" = "tty9" ]] ; do
|
||||||
|
if command -v bandwhich 2>"${_NO_LOG}"; then
|
||||||
|
bandwhich
|
||||||
|
fi
|
||||||
|
done
|
||||||
if [[ -e /usr/bin/setup ]]; then
|
if [[ -e /usr/bin/setup ]]; then
|
||||||
_local_mode
|
_local_mode
|
||||||
# wait on user interaction!
|
# wait on user interaction!
|
||||||
|
|
14
usr/share/archboot/base/etc/securetty
Normal file
14
usr/share/archboot/base/etc/securetty
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# File which lists terminals from which root can log in.
|
||||||
|
# See securetty(5) for details.
|
||||||
|
|
||||||
|
console
|
||||||
|
tty1
|
||||||
|
tty2
|
||||||
|
tty3
|
||||||
|
tty4
|
||||||
|
tty5
|
||||||
|
tty6
|
||||||
|
tty9
|
||||||
|
tty10
|
||||||
|
ttyS0
|
||||||
|
hvc0
|
Loading…
Reference in a new issue