summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/config.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-07 15:13:42 +0000
committerache <ache@FreeBSD.org>2001-08-07 15:13:42 +0000
commitde9c8b2559037fd557b54f2c3e5bb647455fed7b (patch)
tree0f0275dcf53da22311b3e52637efe8f8c9327774 /usr.sbin/sysinstall/config.c
parent4ac200a7735db9d9e2be145047b84f575a3af5e8 (diff)
downloadFreeBSD-src-de9c8b2559037fd557b54f2c3e5bb647455fed7b.zip
FreeBSD-src-de9c8b2559037fd557b54f2c3e5bb647455fed7b.tar.gz
Apply pending /etc/ttys changes before calling editor on it
Approved by: rwatson
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r--usr.sbin/sysinstall/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index 3a83157..4f1db607 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -1046,6 +1046,7 @@ configEtcTtys(dialogMenuItem *self)
"configuration.\n\n"
"To load /etc/ttys in the editor, select [Yes], otherwise, [No].")) {
} else {
+ configTtys();
sprintf(cmd, "%s /etc/ttys", variable_get(VAR_EDITOR));
dialog_clear();
systemExecute(cmd);
OpenPOWER on IntegriCloud