Suppress OpenRC boot messages

This commit is contained in:
Disassembler 2017-12-19 11:21:59 +01:00
parent 9d0e653cfa
commit ea27896702
2 changed files with 4 additions and 8 deletions

View File

@ -13,8 +13,6 @@ cp ${SOURCE_DIR}/root/.config/htop/htoprc /root/.config/htop/htoprc
# Copy boot configuration
cp ${SOURCE_DIR}/boot/extlinux.conf /boot/extlinux.conf
# Forbid login on tty1, disable tty2-6
cp ${SOURCE_DIR}/etc/inittab /etc/inittab
# Enable support for Czech characters
@ -47,5 +45,3 @@ for SERVICE in docker nginx postfix sshd; do
rc-update add ${SERVICE} boot
service ${SERVICE} start
done
# TODO: Hide OpenRC output

View File

@ -1,8 +1,8 @@
# /etc/inittab
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
::sysinit:/sbin/openrc sysinit >/dev/null 2>&1
::sysinit:/sbin/openrc boot >/dev/null 2>&1
::wait:/sbin/openrc default >/dev/null 2>&1
# Set up getty
::wait:/sbin/issue-gen
@ -12,4 +12,4 @@ tty1::respawn:/sbin/getty -l /sbin/nologin 38400 tty1
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/openrc shutdown
::shutdown:/sbin/openrc shutdown >/dev/null 2>&1