diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-23 07:21:31 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-23 07:21:31 +0000 |
commit | 33dd2634029f993cc967dd2c850365cfa202d82e (patch) | |
tree | 5351c9675149d497a1f0ce4a474a1093a609459a /usr.sbin/sysinstall/anonFTP.c | |
parent | ef4a30ef51083ce3376d731fbdb563eb6c3a327b (diff) | |
download | FreeBSD-src-33dd2634029f993cc967dd2c850365cfa202d82e.zip FreeBSD-src-33dd2634029f993cc967dd2c850365cfa202d82e.tar.gz |
Make the editor a selectable option. Some people don't care for `ee'!
Diffstat (limited to 'usr.sbin/sysinstall/anonFTP.c')
-rw-r--r-- | usr.sbin/sysinstall/anonFTP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c index beb54e6..0af53be 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.7 1996/03/02 07:31:48 jkh Exp $ + * $Id: anonFTP.c,v 1.8 1996/03/18 15:27:39 jkh Exp $ * * Copyright (c) 1995 * Coranth Gryphon. All rights reserved. @@ -472,7 +472,7 @@ configAnonFTP(char *unused) dialog_clear(); msgNotify("Uncompressing the editor - please wait.."); vsystem("echo Your welcome message here. > %s/etc/%s", tconf.homedir, MOTD_FILE); - sprintf(cmd, "/stand/ee %s/etc/%s", tconf.homedir, MOTD_FILE); + sprintf(cmd, "%s %s/etc/%s", variable_get(VAR_EDITOR), tconf.homedir, MOTD_FILE); systemExecute(cmd); } } |