X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-vconsole-setup.service.in;h=1420ce8f62753d1ce7d68bfb2b93312cd33ef026;hp=52e31e0bc25be9874d8e50bbdc6540b6f8918734;hb=f2b6878955b1f77ea1fa87b502b13d5dbefc57f6;hpb=4bb2357f77c875976de5e238a5783e4e136b37b5 diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index 52e31e0bc..1420ce8f6 100644 --- a/units/systemd-vconsole-setup.service.in +++ b/units/systemd-vconsole-setup.service.in @@ -1,8 +1,8 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] @@ -10,7 +10,8 @@ Description=Setup Virtual Console DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=shutdown.target +Before=sysinit.target shutdown.target +ConditionPathExists=/dev/tty0 [Service] Type=oneshot