From 1079b1fae22da331c18a65fbef8a59552d72770f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Apr 2015 15:48:37 +0200 Subject: services/sulogin: use active tty not tty1 to make console=ttyS0 work. Thanks to Christian Neukirchen for the hint. --- services/sulogin/run | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services') diff --git a/services/sulogin/run b/services/sulogin/run index 98837b8..1c35123 100755 --- a/services/sulogin/run +++ b/services/sulogin/run @@ -1,2 +1,4 @@ #!/bin/sh -exec setsid sulogin -p /dev/tty1 2>&1 +tty=$($tty 2>&1 -- cgit 1.4.1