same for serial + fixes
This commit is contained in:
parent
a21aba4f11
commit
f9ebd17afe
|
@ -1,6 +1,6 @@
|
|||
subiquity (0.0.7~4~xenial) UNRELEASED; urgency=medium
|
||||
|
||||
* Use a drop-in file to run console-conf before getty.
|
||||
* Use a drop-in files to run console-conf before getty.
|
||||
|
||||
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 05 Aug 2016 13:53:29 +1200
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[Unit]
|
||||
After=serial-console-conf@%i.service
|
||||
Wants=serial-console-conf@%i.service
|
|
@ -7,11 +7,12 @@ ConditionPathExists=!/writable/firstboot-complete
|
|||
|
||||
[Service]
|
||||
Environment=PYTHONPATH=/usr/share/subiquity
|
||||
ExecStartPre=/sbin/systemctl stop serial-getty@%I
|
||||
ExecStartPre=/bin/systemctl stop serial-getty@%I
|
||||
ExecStart=-/sbin/agetty -n --noclear -l /usr/bin/console-conf %I $TERM
|
||||
ExecStop=/sbin/systemctl start serial-getty@%I
|
||||
ExecStop=/bin/systemctl start serial-getty@%I
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
UtmpIdentifier=%I
|
||||
TTYPath=/dev/%I
|
||||
TTYReset=yes
|
||||
|
|
Loading…
Reference in New Issue