units: make sure that rc-local.service is run before the getty on tty1, so that they don't fight for tty access

This commit is contained in:
Lennart Poettering 2010-06-02 22:14:00 +02:00
parent d7a2d0c67a
commit d29bcf0de7
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Description=/etc/rc.local Compatibility
Requires=basic.target
After=basic.target
Conflicts=shutdown.target
Before=getty@tty1.service
# The rcN.d symlink uses the name "local" while the script itself is
# called "rc.local", hence carry both names here.