summary refs log tree commit diff
path: root/services/agetty-generic/run
diff options
context:
space:
mode:
Diffstat (limited to 'services/agetty-generic/run')
-rwxr-xr-xservices/agetty-generic/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/agetty-generic/run b/services/agetty-generic/run
index 9f532b2..b47475a 100755
--- a/services/agetty-generic/run
+++ b/services/agetty-generic/run
@@ -1,8 +1,9 @@
 #!/bin/sh
 
+tty=${PWD##*-}
+
 [ -r conf ] && . conf
 
-tty=${PWD##*-}
 if [ -x /sbin/getty ]; then
 	# busybox
 	GETTY=getty