summaryrefslogtreecommitdiffstats
path: root/libexec/getty/main.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1994-08-22 19:55:08 +0000
committerguido <guido@FreeBSD.org>1994-08-22 19:55:08 +0000
commit26e50b1c3e99000c351230dbc9bc45d66424c44c (patch)
tree68261705ec91e8163df3de06177f4a4bd6f2aa49 /libexec/getty/main.c
parent1f9f02ea4f0cc795ccbe698549fce7681e463ce1 (diff)
downloadFreeBSD-src-26e50b1c3e99000c351230dbc9bc45d66424c44c.zip
FreeBSD-src-26e50b1c3e99000c351230dbc9bc45d66424c44c.tar.gz
Implement fbtab ala SunSO.
Could not compile it (on thud) because ttychar.h was still broken. Reviewed by: Submitted by: guido
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