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:
parent
d7a2d0c67a
commit
d29bcf0de7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue