diff --git a/release/sysinstall/anonFTP.c b/release/sysinstall/anonFTP.c index 350c1a7c7924..389f48b569fa 100644 --- a/release/sysinstall/anonFTP.c +++ b/release/sysinstall/anonFTP.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: anonFTP.c,v 1.4 1995/11/11 11:49:22 jkh Exp $ + * $Id: anonFTP.c,v 1.5 1995/11/11 11:56:40 jkh Exp $ * * Copyright (c) 1995 * Coranth Gryphon. All rights reserved. @@ -468,8 +468,13 @@ configAnonFTP(char *unused) dialog_clear(); if (!msgYesNo("Create a welcome message file for anonymous FTP users?")) { + char cmd[256]; + + dialog_clear(); + msgNotify("Uncompressing the editor - please wait.."); vsystem("echo Your welcome message here. > %s/etc/%s", tconf.homedir, MOTD_FILE); - vsystem("/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE); + sprintf(cmd, "/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE); + systemExecute(cmd); } } else { diff --git a/release/sysinstall/installFinal.c b/release/sysinstall/installFinal.c index da9566a0dca6..a5f937ff9036 100644 --- a/release/sysinstall/installFinal.c +++ b/release/sysinstall/installFinal.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: installFinal.c,v 1.17 1995/11/04 17:16:45 jkh Exp $ + * $Id: installFinal.c,v 1.18 1995/11/09 02:31:59 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard & Coranth Gryphon. All rights reserved. @@ -192,7 +192,7 @@ configNFSServer(char *unused) "an /etc/exports file to indicate which hosts are allowed certain\n" "kinds of access to your local file systems.\n" "Press [ENTER] now to invoke an editor on /etc/exports (the editor\n" - "may take several moments to start up the first time - please be\n" + "may take a little while to uncompress the first time - please be\n" "patient!)"); vsystem("echo '#The following examples export /usr to 3 machines named after ducks,' > /etc/exports"); vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /etc/exports"); @@ -203,6 +203,8 @@ configNFSServer(char *unused) vsystem("echo '#' >> /etc/exports"); vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports"); vsystem("echo >> /etc/exports"); + dialog_clear(); + msgNotify("Uncompressing the editor.. Please wait."); systemExecute("ee /etc/exports"); } variable_set2("nfs_server", "YES"); diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c index 350c1a7c7924..389f48b569fa 100644 --- a/usr.sbin/sysinstall/anonFTP.c +++ b/usr.sbin/sysinstall/anonFTP.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: anonFTP.c,v 1.4 1995/11/11 11:49:22 jkh Exp $ + * $Id: anonFTP.c,v 1.5 1995/11/11 11:56:40 jkh Exp $ * * Copyright (c) 1995 * Coranth Gryphon. All rights reserved. @@ -468,8 +468,13 @@ configAnonFTP(char *unused) dialog_clear(); if (!msgYesNo("Create a welcome message file for anonymous FTP users?")) { + char cmd[256]; + + dialog_clear(); + msgNotify("Uncompressing the editor - please wait.."); vsystem("echo Your welcome message here. > %s/etc/%s", tconf.homedir, MOTD_FILE); - vsystem("/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE); + sprintf(cmd, "/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE); + systemExecute(cmd); } } else {