From patchwork Thu Mar 22 20:22:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 1710 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.i.ipfire.org (Postfix) with ESMTP id 86B9C60AD9 for ; Thu, 22 Mar 2018 10:23:02 +0100 (CET) X-Virus-Scanned: ClamAV at mail01.ipfire.org X-Spam-Flag: NO X-Spam-Score: -1.099 X-Spam-Level: X-Spam-Status: No, score=-1.099 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 0DCF31108860; Thu, 22 Mar 2018 09:22:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ipfire.org; s=201801; t=1521710581; x=1524302581; bh=5jDkRlJZKQyC0mMEvmz4/5ctDXC7xRlysf0BPyWaIgg=; h=From:To:Subject:Date:Message-Id:Sender:From:To:Cc:Date: Content-Type:Message-ID:In-Reply-To:Subject:Reply-To:Sender; b=Wvd0dsIvePBLiBbVfAhE+Fz5caavemNfOhoQU5bCM4tf44cZcPMN1bg17EViXk+u7 gJ4GnOQPwZ6ihBUTeW5l4EFlzQDdmXlTONYBXwwFFLLIUhvWjto2yzYXApjfqaXnTR XURuc7sWGV2Bzwok9y3Chv6IMZcSx/sq6rxVTYmsZeZejhSvtbV8K06xHePhjMOfsl pXSFi6B4z7Ze+hzMlI5yjerbLuULaDMVkvI4jmh9GnicML7dHwuArIgn3DbIqW+Ojm nhBh7eWcRp2Cv75PN2BjEq/MYgQewDlqlVXvHJuDdRMHYzsjLnUlXf8E9DwHrLlYuT HTThnqueXbhiw== X-Virus-Scanned: ClamAV at mail01.ipfire.org Received: from tuxedo.stevee (213162073009.public.t-mobile.at [213.162.73.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 968261063DEB; Thu, 22 Mar 2018 09:22:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ipfire.org; s=201801; t=1521710576; x=1524302576; bh=5jDkRlJZKQyC0mMEvmz4/5ctDXC7xRlysf0BPyWaIgg=; h=From:To:Cc:Subject:Date:Message-Id:From:To:Cc:Date:Content-Type: Message-ID:In-Reply-To:Subject:Reply-To:Sender; b=xWrl+MRJd0IiV+IKa+zc40B0eAWYedFuCXAqskbd+DO/kSOCexoy7dA8AwdZj6yjO 01c08fHGWtsdHppW4hIxm1TWpNsFiX74VhB1Ama4OblEb/UsCs8LH8UflR5MwRbzcI QC8Qa5tyiNGGgXGMGQJmvk2BXrl1B1qlgbS1/0Tqg3QvIcEnmdymNTzr2DzyzGV5WY ZLEDN//DQzhZ7BXUlY+VvjABnFe/VVtpO67vICP8ngrVG+wurm+FYBNoiLl6MXGOLJ qZcCNWmzcfxn7/0Si+gPT7AM4e/ayVBegNrJgSL7U9UTtBxfaDffRl8v7qShO9J3ta 03zQj0QQv1snQ== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Enable spwaning getty's on serial devices Date: Thu, 22 Mar 2018 10:22:50 +0100 Message-Id: <20180322092250.4217-1-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.14.3 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Fixes #11678. Signed-off-by: Stefan Schantl --- systemd/systemd.nm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 037f783dc..aa818c5fa 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 233 -release = 1 +release = 2 maintainer = Stefan Schantl groups = System/Base @@ -285,6 +285,7 @@ packages /usr/bin/systemctl enable \ getty@.service \ + serial-getty@.service \ remote-fs.target \ systemd-readahead-replay.service \ systemd-readahead-collect.service \ @@ -312,6 +313,9 @@ packages mv /etc/systemd/journald.conf.paknew /etc/systemd/journald.conf /usr/bin/systemctl restart systemd-journald.service >/dev/null 2>&1 || : fi + + # Enable spawning getty's on serial devices. + systemctl enable serial-getty@.service >/dev/null 2>&1 || : end # Be sure to start the new udev after everything is done.