[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Add support for systemd autologin on tty1



Hi,

On 08/10/2015 10:15 PM, Daniel Baumann wrote:
Hi,

thanks; now.. three questions left:

   * i assume, the name of the file that gets put into /etc/systemd
     /system/getty@tty1.service.d doesn't matter, right?

Yes.


   * why are there two "ExecStart" in the to-be-created autologin.conf?

The first and empty ExecStart clears inherited value from another getty service file. Which is required for service files with Type=idle. Only Type=oneshot are allowed to have multiple ExecStart values (incl. inherited) ones.


   * should we do it on tty1 only, or do it on all (by default = 6) ttys?

Original I toughed for sysvinit/inttab/getty it was also only tty1. But it turns out all/6 ttys are enabled for autologin.


Best Regards,
Daniel


Reply to: