Bug#754423: adapting rc.local that needs interaction to systemd

Michael Biebl biebl at debian.org
Sat Jul 12 02:29:50 BST 2014


I really don't think what your doing in rc.local is sensible, but at
least there is a simpler workaround then your messing around with the
getty config:


# mkdir /etc/systemd/system/rc-local.service.d/

# echo -e
"[Service]\nStandardInput=tty-force\nStandardOutput=journal+console\n" >
/etc/systemd/system/rc-local.service.d/console.conf

This connects the standard output/input to /dev/console during boot.

You should should see your messages this way and also be able to
interact (i.e. read from stdin) this.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140712/97cc385b/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list