summaryrefslogtreecommitdiffstats
path: root/libexec/getty/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r--libexec/getty/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index c27ddf4..ddfc272 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -161,7 +161,7 @@ static void putchr __P((int));
static void putf __P((char *));
static void putpad __P((char *));
static void puts __P((char *));
-
+extern void reset_fbtab __P((char *));
int
main(argc, argv)
int argc;
@@ -224,6 +224,9 @@ main(argc, argv)
}
}
+ /* Read the FBTAB file and check if we have to reset perms/ownership */
+ reset_fbtab(ttyn);
+
gettable("default", defent);
gendefaults();
tname = "default";
OpenPOWER on IntegriCloud