diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-05-11 07:49:27 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-05-11 07:49:27 +0200 |
commit | d111a61fbd67ccf1b29f0707526025440fbf51be (patch) | |
tree | 378f22776c9a7321f943def3a5c2388e42ce865c | |
parent | a3d5546c0bb875500f72ce7f466567489adb4968 (diff) | |
download | runit-void-d111a61fbd67ccf1b29f0707526025440fbf51be.tar.gz runit-void-d111a61fbd67ccf1b29f0707526025440fbf51be.tar.xz runit-void-d111a61fbd67ccf1b29f0707526025440fbf51be.zip |
services/agetty-generic/finish: drop bashism (close #37). 20150511
-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 |