diff options
author | ache <ache@FreeBSD.org> | 2001-08-07 15:13:42 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-07 15:13:42 +0000 |
commit | de9c8b2559037fd557b54f2c3e5bb647455fed7b (patch) | |
tree | 0f0275dcf53da22311b3e52637efe8f8c9327774 /usr.sbin | |
parent | 4ac200a7735db9d9e2be145047b84f575a3af5e8 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/sade/config.c | 1 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 3a83157..4f1db607 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/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); 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); |