Hi all,

I'm using runit init system on slackware using the void linux init scripts. 
All works like a charm except sigle user mode which just run sulogin.
The service goes in loop not showing the prompt for some reason.
This is the service:

/etc/sv/sulogin/run

#!/bin/sh
[ -r conf ] && . ./conf
read -r tty < /sys/class/tty/console/active
tty=/dev/${tty##* }
exec /usr/bin/setsid /sbin/sulogin ${OPTS:=-p} < $tty >$tty 2>&1

What am i wronging?
Regards


Reply via email to