diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-07 15:13:42 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-07 15:13:42 +0000 |
commit | cf9da17cbbd258ad9f07ae526ada2fef9ecc8741 (patch) | |
tree | 0f0275dcf53da22311b3e52637efe8f8c9327774 | |
parent | b10fee5d7bc44fa33bc39124dca2a34b0eb42ed9 (diff) | |
download | src-cf9da17cbbd258ad9f07ae526ada2fef9ecc8741.tar.gz src-cf9da17cbbd258ad9f07ae526ada2fef9ecc8741.zip |
Apply pending /etc/ttys changes before calling editor on it
Approved by: rwatson
Notes
Notes:
svn path=/head/; revision=81249
-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 3a83157ee553..4f1db607b2c5 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 3a83157ee553..4f1db607b2c5 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); |