Commit Graph

7563 Commits

Author SHA1 Message Date
Bill Swingle
0fe2f8cb85 Fixes problem with pkg_add -r when adding multiple pkgs.
Reviewed by:	chris
2001-09-07 22:32:37 +00:00
David E. O'Brien
d6432d1f16 Strip non version _number_ bits from HOST_OS_VERSION.
Requested by:	knu
2001-09-06 18:39:46 +00:00
David E. O'Brien
5cd462d266 I was missing the HOST_OS_VERSION setting in the fall-back case.
Also, the script was too position dependant.  We now have make(1) pass in
the file to grub around in to get our settings from.
2001-09-06 17:52:59 +00:00
Dima Dorfman
6680d16d19 Print the correct filename if we fail to open $etc_passwd.
Submitted by:	Brian Poole <raj@cerias.purdue.edu>
2001-09-06 12:21:21 +00:00
Murray Stokely
53e1e93595 sysinstall's primitive network configuration expects only one value
for each option in the DHCP lease file.  The DHCP lease parsing code
specifically ignores more than the first nameserver, but it didn't
previously deal with the case of more than one router.  This caused
segfaults and a painful death when installing on a network with
multiple routers.

PR:		misc/16003
2001-09-06 10:27:28 +00:00
Murray Stokely
5693049227 There is a problem in this example script. Setting ftp=time.cdrom.com
is useless, we should set _ftpPath=blah.

PR:		misc/29587
Submitted by:	David Yeske <dyeske@yahoo.com>
2001-09-06 10:04:27 +00:00
Murray Stokely
810fd59fbb If we're running as init, install a signal handler for SIGCHLD.
PR:		bin/14729
Submitted by:	jhb
2001-09-06 09:53:53 +00:00
Brooks Davis
06c56b283b Make wicontrol WARNS=2 clean. This is mostly just adding const to things. 2001-09-05 23:59:20 +00:00
Dima Dorfman
f328d583a2 Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults.  Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.

Approved by:	bde
2001-09-05 20:10:59 +00:00
Dima Dorfman
2392d350e6 Don't mention wtmp.[0-7] in the FILES section. This manual page
doesn't talk about these files elsewhere, doesn't use the files by
default, and the names are dependent on site-specific newsyslog
configuration.

PR:		30348
Submitted by:	Giorgos Keramidas <charon@labs.gr>
2001-09-05 19:33:08 +00:00
Dima Dorfman
7d843d6a3a Correct a typo.
PR:		30347
Submitted by:	Giorgos Keramidas <charon@labs.gr>
2001-09-05 19:26:17 +00:00
Dima Dorfman
9507e12126 Fix typo.
PR:		30342
Submitted by:	Giorgos Keramidas <charon@labs.gr>
2001-09-05 19:21:25 +00:00
Andrey A. Chernov
5d078bb36b atol -> strtoll, for file offset 2001-09-05 17:05:31 +00:00
David E. O'Brien
1b5546b873 Try to determine the OS version and architecture for what is being built
vs.  the building machine.

PR:		14040
2001-09-05 16:54:20 +00:00
Murray Stokely
2ba3260838 4000 -> 5800 ports. We really need to add some smarts to the
ports/INDEX creation script to update #defines in header files and
entities in the doc/ tree.
2001-09-05 09:45:35 +00:00
Murray Stokely
ca61f68601 Allow network device name to be given on the command line in the
interactive case.  This already works for non-interactive installs,
but at least one user thinks it would be useful and it certainly seems
more correct to allow it here as well.

So, this will now work :

# sysinstall netDev=fxp0 tcpMenuSelect

PR:		bin/30229
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2001-09-05 08:10:04 +00:00
Murray Stokely
25818ccf8e Add Hungarian FTP mirror.
PR:		misc/21536
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-09-05 07:41:01 +00:00
Murray Stokely
fe936981de Add Czech keyboard definition to sysinstall.
PR:		bin/17430
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2001-09-05 07:12:19 +00:00
Kris Kennaway
7e2f1d04d8 Correct a last minute sizeof() bogon in my previous commit. 2001-09-05 05:20:31 +00:00
Murray Stokely
eda54d6828 Introduce the concept of previously mounted media to sysinstall.
This will now allow sysinstall to work properly if a FreeBSD CD/DVD is
already mounted as /cdrom, instead of just crapping out when it tries
to mount as /dist and gets EBUSY.

PR:		conf/28081
Tested by:	jhb
2001-09-05 02:30:50 +00:00
Murray Stokely
29b46c3bc5 Allow users to enable usbd and set flags from sysinstall. This is
useful for post install configuration or other cases that might not be
handled by usb.c. (usb.c already sets usbd_enable iff sysinstall
detects usb during install).

PR:		bin/18946
Submitted by:	Peter van Heusden <pvh@egenetics.com>
Reviewed by:	jhb
2001-09-05 00:58:28 +00:00
Murray Stokely
8e212e3580 Update the inetd configuration prompt for clarity.
Submitted by:	chern
Committed from: "Make sysinstall suck less party", D1031 WRS campus, Alameda
2001-09-05 00:45:13 +00:00
Murray Stokely
b25687720b Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
and RTSOL in sysinstall.  If the respective TRY_FOO variable is set to
"YES" then it will be tried without prompting the user.

However, if the TRY_FOO variable is set to "NO" then the user will not
be prompted for a choice.  This is the correct behavior, since we want
people to be able to script sysinstall in either case.

However, the default TRY_FOO variable has been "NO" since 1999.  This
is incorrect, and when the logic was corrected in tcpip.c this has the
effect of never giving the user a choice to use DHCP or IPv6.  The
value should be undefined until it is set by a script or by the user.

Submitted by:	Randy Pratt, Chern Lee, many others.
2001-09-04 23:56:30 +00:00
Jordan K. Hubbard
119a25407c Add 3rd spanish mirror
Submitted by:   "Jose M. Alcaide" <jose@we.lc.ehu.es>
2001-09-04 22:08:33 +00:00
Brian Somers
156a04e466 Fix a diagnostic 2001-09-04 22:07:56 +00:00
Bruce A. Mah
0b04c12ca7 sysinstall's binary upgrade option used to display the contents of
UPGRADE.TXT along with a YesNo dialog requesting confirmation of
the upgrade.  During the transition to RELNOTESng, UPGRADE.TXT got
folded into a file that eventually renders as INSTALL.TXT, which
makes sysinstall complain about a non-existent file.  As a
solution/workaround, point the user at INSTALL.TXT, and then request
confirmation.

Noticed by:	rpratt (on 4.4-RC3)
Approved by:	jkh
2001-09-04 21:06:48 +00:00
Robert Watson
4a194bc678 Since we now install sysinstall in /usr/sbin, encourage the user to
run that version, rather than the copy in /stand.
2001-09-04 20:22:41 +00:00
Robert Watson
dd5360b44c Spell SSHd as sshd to improve readability and consistency. 2001-09-04 20:22:14 +00:00
Robert Watson
0d0f76632d Add an additional \n before the "cautionary note" on the topic of
admins needing to pay attention when configuring the system.  This
improves readability of this message.
2001-09-04 20:21:12 +00:00
Robert Watson
e01106586f Don't name the main menu "/stand/sysinstall Main Manu" since it now
often lives in /usr/sbin.  Instead, just name it "sysinstall Main Menu".
2001-09-04 20:14:59 +00:00
Ruslan Ermilov
51845aff29 mdoc(7) police: This still can be done with one-line display. 2001-09-04 14:10:41 +00:00
Ruslan Ermilov
589b4db814 mdoc(7) police:
1)  Removed the low-level (unneeded in this context) details on
    escape sequences that are already documented in screen(4).

2)  Removed whitespace at EOL.

3)  Removed the garbage from previous revision.
2001-09-04 13:54:45 +00:00
Ruslan Ermilov
89a374a163 mdoc(7) police: s/vidmap/vidfont/, don't xref to itself. 2001-09-04 13:10:28 +00:00
Noriaki Mitsunaga
4ea024db92 Change the access width of memory window from 8 bits to 16 bits.
16 bits access is required by nsp driver to work in SMIT mode.
Since previously (1.65 and before in current, and 1.46.28 and before
in stable branch) 16 bits access was default, I hope it will break nothing.

Okayed-by: imp
2001-09-04 04:40:09 +00:00
Murray Stokely
5cffcde644 Note that kbdmap is an interactive command.
PR:		docs/29506
Submitted by:	Gary W. Swearingen <swear@aa.net>
2001-09-04 03:18:13 +00:00
Murray Stokely
c271258542 Add additional information about VGA attributes.
PR:		docs/28000
Submitted by:	Robert Drehmel <robert@zoot.quizbot.org>
2001-09-04 00:54:37 +00:00
David E. O'Brien
3fe149a643 Opps, let one definition slip out that we define dynamically. 2001-09-03 19:19:12 +00:00
Dima Dorfman
2b3f1731e1 Actually, instead of removing the comment entirely, change it to talk
about {vid,kbd}map, which is probably what the author meant.

Submitted by:	Gary W. Swearingen <swear@aa.net>
2001-09-03 16:07:14 +00:00
Dima Dorfman
db74fae175 This does not describe kbdcontrol or vidcontrol.
PR:		29505
2001-09-03 16:04:59 +00:00
Dima Dorfman
979d474a6d syslogd can now be configured to bind to a specific address. 2001-09-03 15:42:10 +00:00
Dima Dorfman
2be196f14c For new users, create the home directory before sending the welcome
mail, if configured to do so.  Some sites have setups where the user's
mail is delivered to their home directory, so sending mail before is
exists didn't work.

PR:		29892
2001-09-03 14:12:42 +00:00
David E. O'Brien
6874428a19 Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
2001-09-02 20:37:36 +00:00
David E. O'Brien
890bbd6bda Update for version 6.0.7. 2001-09-02 19:50:47 +00:00
David E. O'Brien
b20e8db347 Document my tweaks better. 2001-09-02 04:06:48 +00:00
Dima Dorfman
f676ae2b46 Introduce a -b option that allows the user to specify which address to
bind to.  This is useful for hosts running jails that need syslog to
maintain an open socket to log to a remote host.

Reviewed by:	sheldonh
2001-09-01 08:42:49 +00:00
Kris Kennaway
dc2bdcbddf Fix some unsafe signal handlers, and be careful not to overflow on fd_set.
Fix some string buffer operations.

Based on:	OpenBSD
Reviewed by:	audit
MFC after:	2 weeks
2001-09-01 07:57:35 +00:00
Kris Kennaway
e65cded7f3 Don't do unsafe activities in the syscall handler.
MFC after:	2 weeks
2001-09-01 07:40:19 +00:00
Jordan K. Hubbard
6db4e2900d Preserve /etc/hosts.allow and /etc/dhclient.conf during upgrades.
Noted by:	Tim Zingelman <zingelman@fnal.gov>
2001-08-31 20:10:01 +00:00
Jordan K. Hubbard
7a7a162ba6 Whoops, forgot a hunk on the previous patch. Fix RTSOL variable handling
AND DHCP handling.
2001-08-31 20:03:05 +00:00
Jordan K. Hubbard
a46ce3a04b PR: 26187
Submitted by:   Glenn Trewitt <glenn@trewitt.org>
2001-08-31 19:56:59 +00:00