about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rwxr-xr-xservices/sulogin/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/sulogin/run b/services/sulogin/run
index b83dda2..eee14c7 100755
--- a/services/sulogin/run
+++ b/services/sulogin/run
@@ -1,4 +1,5 @@
 #!/bin/sh
+[ -r conf ] && . ./conf
 read -r tty < /sys/class/tty/console/active
 tty=/dev/${tty##* }
-exec setsid sulogin -p < $tty >$tty 2>&1
+exec setsid sulogin ${OPTS:=-p} < $tty >$tty 2>&1