aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/main.c
diff options
context:
space:
mode:
authorDavid Bright <dab@FreeBSD.org>2017-09-07 00:20:17 +0000
committerDavid Bright <dab@FreeBSD.org>2017-09-07 00:20:17 +0000
commitff48be37b5e0fe277eaf8a46c732ea5e484bab9c (patch)
tree2270b879517fdfb17e156c5d3eb9697935afff47 /libexec/getty/main.c
parentf526d86d7577dc9c5a23a3c1f504bdf156915d2f (diff)
Notes
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r--libexec/getty/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 94ecb0779cec..9b2c964873bf 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -324,6 +324,8 @@ main(int argc, char *argv[])
}
first_time = 0;
+ if (IMP && *IMP && !(PL && PP))
+ system(IMP);
if (IM && *IM && !(PL && PP))
putf(IM);
if (setjmp(timeout)) {