Suppress OpenRC boot messages
This commit is contained in:
parent
9d0e653cfa
commit
ea27896702
@ -13,8 +13,6 @@ cp ${SOURCE_DIR}/root/.config/htop/htoprc /root/.config/htop/htoprc
|
|||||||
|
|
||||||
# Copy boot configuration
|
# Copy boot configuration
|
||||||
cp ${SOURCE_DIR}/boot/extlinux.conf /boot/extlinux.conf
|
cp ${SOURCE_DIR}/boot/extlinux.conf /boot/extlinux.conf
|
||||||
|
|
||||||
# Forbid login on tty1, disable tty2-6
|
|
||||||
cp ${SOURCE_DIR}/etc/inittab /etc/inittab
|
cp ${SOURCE_DIR}/etc/inittab /etc/inittab
|
||||||
|
|
||||||
# Enable support for Czech characters
|
# Enable support for Czech characters
|
||||||
@ -47,5 +45,3 @@ for SERVICE in docker nginx postfix sshd; do
|
|||||||
rc-update add ${SERVICE} boot
|
rc-update add ${SERVICE} boot
|
||||||
service ${SERVICE} start
|
service ${SERVICE} start
|
||||||
done
|
done
|
||||||
|
|
||||||
# TODO: Hide OpenRC output
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# /etc/inittab
|
# /etc/inittab
|
||||||
|
|
||||||
::sysinit:/sbin/openrc sysinit
|
::sysinit:/sbin/openrc sysinit >/dev/null 2>&1
|
||||||
::sysinit:/sbin/openrc boot
|
::sysinit:/sbin/openrc boot >/dev/null 2>&1
|
||||||
::wait:/sbin/openrc default
|
::wait:/sbin/openrc default >/dev/null 2>&1
|
||||||
|
|
||||||
# Set up getty
|
# Set up getty
|
||||||
::wait:/sbin/issue-gen
|
::wait:/sbin/issue-gen
|
||||||
@ -12,4 +12,4 @@ tty1::respawn:/sbin/getty -l /sbin/nologin 38400 tty1
|
|||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
|
|
||||||
# Stuff to do before rebooting
|
# Stuff to do before rebooting
|
||||||
::shutdown:/sbin/openrc shutdown
|
::shutdown:/sbin/openrc shutdown >/dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user