diff options
author | nyan <nyan@FreeBSD.org> | 2002-10-14 13:06:13 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-10-14 13:06:13 +0000 |
commit | 92b6682eed09c447913d957533c0e302d822e235 (patch) | |
tree | 096e592c78f9b9175a4c683a14aa48da5803be18 /usr.sbin/sysinstall/ftp.c | |
parent | b07584819ddb0e249449f08517210f51535e03dd (diff) | |
download | FreeBSD-src-92b6682eed09c447913d957533c0e302d822e235.zip FreeBSD-src-92b6682eed09c447913d957533c0e302d822e235.tar.gz |
The MACHINE variable on pc98 is "i386". So, use "pc98" directly in PC98 case.
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index 14fd74b..c971b79 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -49,9 +49,15 @@ static FILE *OpenConn; int FtpPort; /* List of sub directories to look for under a given FTP server. */ +#ifdef PC98 +const char *ftp_dirs[] = { ".", "releases/pc98", "snapshots/pc98", + "pub/FreeBSD", "pub/FreeBSD/releases/pc98", + "pub/FreeBSD/snapshots/pc98", NULL }; +#else const char *ftp_dirs[] = { ".", "releases/"MACHINE, "snapshots/"MACHINE, "pub/FreeBSD", "pub/FreeBSD/releases/"MACHINE, "pub/FreeBSD/snapshots/"MACHINE, NULL }; +#endif /* Brings up attached network device, if any - takes FTP device as arg */ static Boolean |