From 97c4a07df982ee967705022feaba9be33947abf0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 16 Sep 2010 00:36:41 +0200 Subject: vconsole: add new utility to initialize the virtual console --- units/.gitignore | 1 + units/systemd-vconsole-setup.service.in | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 units/systemd-vconsole-setup.service.in (limited to 'units') diff --git a/units/.gitignore b/units/.gitignore index a02b7f11eb..816eeb3c1e 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -2,6 +2,7 @@ serial-getty@.service systemd-kmsg-syslogd.service systemd-modules-load.service systemd-remount-api-vfs.service +systemd-vconsole-setup.service systemd-auto-serial-getty.service systemd-shutdownd.service systemd-random-seed-load.service diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in new file mode 100644 index 0000000000..c113be578e --- /dev/null +++ b/units/systemd-vconsole-setup.service.in @@ -0,0 +1,20 @@ +# 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 +# (at your option) any later version. + +[Unit] +Description=Setup Virtual Console +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=@rootlibexecdir@/systemd-vconsole-setup + +[Install] +WantedBy=sysinit.target -- cgit v1.2.3-54-g00ecf