Skip to content

Commit

Permalink
Disable systemd messages before starting the installer
Browse files Browse the repository at this point in the history
Signed-off-by: Kiefer Chang <[email protected]>
  • Loading branch information
bk201 authored and guangbochen committed Dec 16, 2021
1 parent 65368b7 commit 75a9597
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package/harvester-os/files/usr/bin/setup-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ EnvironmentFile=-/etc/rancher/installer/env
# NOTE: it doesn't work for serial console
ExecStartPre=/usr/bin/setterm --msg off
# Disable systemd messages before starting the installer
# See https://www.freedesktop.org/software/systemd/man/systemd.html#SIGRTMIN+21
# Send SIGRTMIN+21
ExecStartPre=/usr/bin/kill -s 55 1
# Enable systemd messager after stopping the installer
# Send SIGRTMIN+20
ExecStopPost=/usr/bin/kill -s 54 1
# clear the original command in [email protected]
ExecStart=
Expand Down

0 comments on commit 75a9597

Please sign in to comment.