summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/anonFTP.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-23 07:21:31 +0000
committerjkh <jkh@FreeBSD.org>1996-03-23 07:21:31 +0000
commit33dd2634029f993cc967dd2c850365cfa202d82e (patch)
tree5351c9675149d497a1f0ce4a474a1093a609459a /usr.sbin/sysinstall/anonFTP.c
parentef4a30ef51083ce3376d731fbdb563eb6c3a327b (diff)
downloadFreeBSD-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.c4
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);
}
}
OpenPOWER on IntegriCloud