diff options
Diffstat (limited to 'services')
-rwxr-xr-x | services/agetty-generic/finish | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/agetty-generic/finish b/services/agetty-generic/finish index dba0186..f23bb9d 100755 --- a/services/agetty-generic/finish +++ b/services/agetty-generic/finish @@ -1,4 +1,3 @@ #!/bin/sh -service=$(basename $(pwd)) -tty=${service/*-} +tty=${PWD##*-} exec utmpset -w $tty |