summary refs log tree commit diff
path: root/services/sulogin/run
blob: 1c351238624e35972a66e03e34370b95c98aac2b (plain) (blame)
1
2
3
4
#!/bin/sh
tty=$(</sys/class/tty/console/active)
tty=/dev/${tty##* }
exec setsid sulogin -p < $tty >$tty 2>&1