On 01/11/12, Simon Perry wrote:

| On 31/10/12, Thomas Bächler wrote:
| 
| | VTNr=0 seems wrong.
| 
| Ok, thanks for that. I'm at work now, and on my laptop here VTNr=1 and
| Active=yes so it's all good on this machine.

Solved - I noticed that getty@tty1.service has:

After=rc-local.service

I disabled rc-local.service, rebooted and it worked.

So I modified my rc-local.service file to include a Before statement:

[Unit]
Description=/etc/rc.local Compatibility
Before=display-manager.service

[Service]
Type=oneshot
ExecStart=/etc/rc.local
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Works fine now. Thanks again for putting my on the right track!

Cheers.

-- 
Simon Perry (aka Pezz)

Attachment: pgpIpOHa4l98B.pgp
Description: PGP signature

Reply via email to