start bandwhich on VC5, bottom on VC6

This commit is contained in:
Tobias Powalowski 2024-07-09 12:12:06 +02:00
parent 412ad0e4ff
commit 43db656b69
3 changed files with 4 additions and 18 deletions

View file

@ -80,8 +80,8 @@ id128,sysext} tar tee testpkg top touch trust tty unix_{chkpwd,update} /usr/lib/
_symlink /usr/lib/terminfo ../share/terminfo _symlink /usr/lib/terminfo ../share/terminfo
# add needed files from running system # add needed files from running system
_map _file /etc/{crypttab,fstab,host.conf,hosts,inputrc,mke2fs.conf,nsswitch.conf,\ _map _file /etc/{crypttab,fstab,host.conf,hosts,inputrc,mke2fs.conf,nsswitch.conf,\
protocols,request-key.conf,services} protocols,request-key.conf,securetty,services}
for i in issue securetty tmpfiles.d/var.conf; do for i in issue tmpfiles.d/var.conf; do
_file_rename "/usr/share/archboot/base/etc/${i}" "/etc/${i}" _file_rename "/usr/share/archboot/base/etc/${i}" "/etc/${i}"
done done
# fixing network support from glibc # fixing network support from glibc

View file

@ -127,13 +127,13 @@ if [[ "${_TTY}" = "tty1" ]] ; then
fi fi
fi fi
# start bottom on VC10 # start bottom on VC10
while [[ "${_TTY}" = "tty10" ]] ; do while [[ "${_TTY}" = "tty6" ]] ; do
if command -v btm 2>"${_NO_LOG}"; then if command -v btm 2>"${_NO_LOG}"; then
btm btm
fi fi
done done
# start bandwhich on VC9 # start bandwhich on VC9
while [[ "${_TTY}" = "tty9" ]] ; do while [[ "${_TTY}" = "tty5" ]] ; do
if command -v bandwhich 2>"${_NO_LOG}"; then if command -v bandwhich 2>"${_NO_LOG}"; then
bandwhich bandwhich
fi fi

View file

@ -1,14 +0,0 @@
# 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