From b574fa098d2827359c31a2d922b729725a8c6c8c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 25 Aug 2010 05:02:48 +0200 Subject: units: fix auto-serial unit --- units/.gitignore | 2 +- units/systemd-auto-serial-getty.service | 16 ---------------- units/systemd-auto-serial-getty.service.in | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 units/systemd-auto-serial-getty.service create mode 100644 units/systemd-auto-serial-getty.service.in diff --git a/units/.gitignore b/units/.gitignore index 35f790849e..a02b7f11eb 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -2,7 +2,7 @@ serial-getty@.service systemd-kmsg-syslogd.service systemd-modules-load.service systemd-remount-api-vfs.service -systemd-auto-console-getty.service +systemd-auto-serial-getty.service systemd-shutdownd.service systemd-random-seed-load.service systemd-random-seed-save.service diff --git a/units/systemd-auto-serial-getty.service b/units/systemd-auto-serial-getty.service deleted file mode 100644 index 8051c7446a..0000000000 --- a/units/systemd-auto-serial-getty.service +++ /dev/null @@ -1,16 +0,0 @@ -# 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=Automatically Spawn getty on Serial Kernel Console - -[Service] -Type=oneshot -ExecStart=@rootlibexecdir@/systemd-auto-serial-getty - -[Install] -WantedBy=getty.target diff --git a/units/systemd-auto-serial-getty.service.in b/units/systemd-auto-serial-getty.service.in new file mode 100644 index 0000000000..8051c7446a --- /dev/null +++ b/units/systemd-auto-serial-getty.service.in @@ -0,0 +1,16 @@ +# 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=Automatically Spawn getty on Serial Kernel Console + +[Service] +Type=oneshot +ExecStart=@rootlibexecdir@/systemd-auto-serial-getty + +[Install] +WantedBy=getty.target -- cgit v1.2.3-54-g00ecf