summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Automatically load the "snp" module if it isn't already present.dd2001-09-091-0/+6
|
* Use CFLAGS instead of COPTS.dd2001-09-091-1/+1
|
* - Silence warnings: apply `const' generously, mark some variablesdd2001-09-092-45/+50
| | | | | | | | | | | | | | | __unused, and change local variables named `sin' (struct sockaddr_in) to `sin4'. (`sin' conflicts with the definition of sin(3), which gcc assumes to be defined even if math.h isn't included (it's a builtin). This is probably a bug in gcc.) - Apply WARNS=1. WARNS=2 was not used because this program assigns string literals to (struct iovec).iov_base for writing, and the only clean way to silence -Wwrite-strings in that case would be to strdup() and consequently free() those literals, which I considered too disruptive. Reviewed by: bde (partially)
* Fixes problem with pkg_add -r when adding multiple pkgs.unfurl2001-09-071-0/+1
| | | | Reviewed by: chris
* Strip non version _number_ bits from HOST_OS_VERSION.obrien2001-09-061-1/+1
| | | | Requested by: knu
* I was missing the HOST_OS_VERSION setting in the fall-back case.obrien2001-09-062-3/+6
| | | | | 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.
* Print the correct filename if we fail to open $etc_passwd.dd2001-09-061-1/+1
| | | | Submitted by: Brian Poole <raj@cerias.purdue.edu>
* sysinstall's primitive network configuration expects only one valuemurray2001-09-061-0/+2
| | | | | | | | | | 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
* There is a problem in this example script. Setting ftp=time.cdrom.commurray2001-09-061-1/+1
| | | | | | | is useless, we should set _ftpPath=blah. PR: misc/29587 Submitted by: David Yeske <dyeske@yahoo.com>
* If we're running as init, install a signal handler for SIGCHLD.murray2001-09-062-0/+26
| | | | | PR: bin/14729 Submitted by: jhb
* Make wicontrol WARNS=2 clean. This is mostly just adding const to things.brooks2001-09-052-24/+35
|
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsdd2001-09-051-2/+2
| | | | | | | | | 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
* Don't mention wtmp.[0-7] in the FILES section. This manual pagedd2001-09-051-3/+1
| | | | | | | | | 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>
* Correct a typo.dd2001-09-051-1/+1
| | | | | PR: 30347 Submitted by: Giorgos Keramidas <charon@labs.gr>
* Fix typo.dd2001-09-051-1/+1
| | | | | PR: 30342 Submitted by: Giorgos Keramidas <charon@labs.gr>
* atol -> strtoll, for file offsetache2001-09-051-1/+1
|
* Try to determine the OS version and architecture for what is being builtobrien2001-09-052-9/+19
| | | | | | vs. the building machine. PR: 14040
* 4000 -> 5800 ports. We really need to add some smarts to themurray2001-09-051-1/+1
| | | | | ports/INDEX creation script to update #defines in header files and entities in the doc/ tree.
* Allow network device name to be given on the command line in themurray2001-09-051-1/+1
| | | | | | | | | | | | | 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>
* Add Hungarian FTP mirror.murray2001-09-052-0/+4
| | | | | PR: misc/21536 Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
* Add Czech keyboard definition to sysinstall.murray2001-09-054-2/+4
| | | | | PR: bin/17430 Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
* Correct a last minute sizeof() bogon in my previous commit.kris2001-09-051-1/+1
|
* Introduce the concept of previously mounted media to sysinstall.murray2001-09-051-6/+20
| | | | | | | | | 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
* Allow users to enable usbd and set flags from sysinstall. This ismurray2001-09-052-0/+8
| | | | | | | | | | 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
* Update the inetd configuration prompt for clarity.murray2001-09-052-2/+2
| | | | | Submitted by: chern Committed from: "Make sysinstall suck less party", D1031 WRS campus, Alameda
* Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCPmurray2001-09-042-4/+0
| | | | | | | | | | | | | | | | 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.
* Add 3rd spanish mirrorjkh2001-09-042-0/+4
| | | | Submitted by: "Jose M. Alcaide" <jose@we.lc.ehu.es>
* Fix a diagnosticbrian2001-09-041-1/+1
|
* sysinstall's binary upgrade option used to display the contents ofbmah2001-09-041-3/+5
| | | | | | | | | | | | 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
* Since we now install sysinstall in /usr/sbin, encourage the user torwatson2001-09-042-2/+2
| | | | run that version, rather than the copy in /stand.
* Spell SSHd as sshd to improve readability and consistency.rwatson2001-09-042-4/+4
|
* Add an additional \n before the "cautionary note" on the topic ofrwatson2001-09-042-4/+4
| | | | | admins needing to pay attention when configuring the system. This improves readability of this message.
* Don't name the main menu "/stand/sysinstall Main Manu" since it nowrwatson2001-09-042-2/+2
| | | | often lives in /usr/sbin. Instead, just name it "sysinstall Main Menu".
* mdoc(7) police: This still can be done with one-line display.ru2001-09-041-3/+2
|
* mdoc(7) police:ru2001-09-041-24/+16
| | | | | | | | | 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.
* mdoc(7) police: s/vidmap/vidfont/, don't xref to itself.ru2001-09-041-4/+4
|
* Change the access width of memory window from 8 bits to 16 bits.non2001-09-041-1/+1
| | | | | | | | 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
* Note that kbdmap is an interactive command.murray2001-09-041-0/+3
| | | | | PR: docs/29506 Submitted by: Gary W. Swearingen <swear@aa.net>
* Add additional information about VGA attributes.murray2001-09-041-31/+47
| | | | | PR: docs/28000 Submitted by: Robert Drehmel <robert@zoot.quizbot.org>
* Opps, let one definition slip out that we define dynamically.obrien2001-09-031-1/+1
|
* Actually, instead of removing the comment entirely, change it to talkdd2001-09-031-1/+6
| | | | | | about {vid,kbd}map, which is probably what the author meant. Submitted by: Gary W. Swearingen <swear@aa.net>
* This does not describe kbdcontrol or vidcontrol.dd2001-09-031-6/+1
| | | | PR: 29505
* syslogd can now be configured to bind to a specific address.dd2001-09-031-5/+2
|
* For new users, create the home directory before sending the welcomedd2001-09-031-24/+24
| | | | | | | | 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
* Use the native mount and nfs_prot headers.obrien2001-09-023-10/+6
| | | | Also generate nfs_prot_x.c in ANSI-C mode.
* Update for version 6.0.7.obrien2001-09-022-174/+219
|
* Document my tweaks better.obrien2001-09-021-9/+10
|
* Introduce a -b option that allows the user to specify which address todd2001-09-012-5/+16
| | | | | | | 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
* Fix some unsafe signal handlers, and be careful not to overflow on fd_set.kris2001-09-011-102/+136
| | | | | | | | Fix some string buffer operations. Based on: OpenBSD Reviewed by: audit MFC after: 2 weeks
* Don't do unsafe activities in the syscall handler.kris2001-09-011-4/+18
| | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud