only show alert (i.e. panic) kernel messages on the console when subiquity is running

otherwise we get spam when probing for block devices and not finding any floppy
drives...
ubuntu/artful
Michael Hudson-Doyle 7 years ago
parent bcb2bcc1cd
commit 61764acade

@ -10,6 +10,7 @@ ConditionPathExists=!/run/subiquity/complete
[Service] [Service]
Environment=PYTHONPATH=/usr/share/subiquity Environment=PYTHONPATH=/usr/share/subiquity
ExecStartPre=/bin/systemctl stop getty@tty1 ExecStartPre=/bin/systemctl stop getty@tty1
ExecStartPre=/bin/dmesg -n 1
ExecStart=/sbin/agetty -n --noclear -l /snap/bin/subiquity tty1 $TERM ExecStart=/sbin/agetty -n --noclear -l /snap/bin/subiquity tty1 $TERM
ExecStopPost=/bin/systemctl start getty@tty1 ExecStopPost=/bin/systemctl start getty@tty1
Type=idle Type=idle

Loading…
Cancel
Save