Commit Graph

3163 Commits

Author SHA1 Message Date
charnier
2d829ec20e Use err(3). 1997-10-29 07:26:09 +00:00
charnier
24e614e49c Typos in man page. Cosmetics in error strings. 1997-10-29 07:25:05 +00:00
brian
941e2045a2 o Bump version to 1.3 to reflect major changes
o  Report modem connect time properly
o  Report bytes in/out over physical media
o  Fix phases (TERMINATE is *higher than* DEAD)
o  Do a LayerFinish from LcpDown
o  Bring down IPCP & CCP when we enter PHASE_TERMINATE
o  Give a new prompt when we go to PHASE_DEAD
o  Stop the modem timer properly when idle
o  Treat sig 15 like an exiting carrier loss
o  Log (DEBUG) offline & online transitions
1997-10-29 01:19:51 +00:00
nate
2e553bc250 - Disable cards when doing a suspend by emulating that they have been
removed.  Add a new state 'suspend' so we 'fake' insertion events at
  resume time for the cards that have been suspended.

[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]

Reviewed by:	frf@xocolatl.com
1997-10-28 17:51:25 +00:00
brian
2c7ba54db5 Don't logwtmp(), login() already does it.
Log us out of utmp & wtmp if we're already in there.
PR:		4862
1997-10-28 16:50:56 +00:00
ache
442881c24b Implement group part now, final syntax is:
user[:group][/login-class]
1997-10-28 13:46:52 +00:00
joerg
5c37a12152 Allow for a keyword in the "files" file named "mandatory". The first
candidate for this is "npx0", more are likely to follow.

Check for pseudo-devices that are being configured, but don't appear
in any "files" file.  The ``pseudo-device bpf 2'' already hit me too
often.
1997-10-28 07:21:04 +00:00
ache
6a842ce994 Implement login classes sepcification as user[/loginclass]
By default inetd run things with the same limits as from /etc/rc
(daemon class) to not break anything as in good old days.
1997-10-27 22:03:47 +00:00
charnier
4b19c8ae4e Use err(3). 1997-10-27 12:30:30 +00:00
charnier
ede47e9ab0 Remove `progname'. 1997-10-27 12:29:25 +00:00
charnier
979da9c94a Add usage() and err(3). Sync man page with usage string. 1997-10-27 12:27:21 +00:00
charnier
5a5312b885 One line usage string: see man page for more info. 1997-10-27 12:25:38 +00:00
charnier
a603ec5bf9 Cosmetic in err() strings. 1997-10-27 12:23:08 +00:00
charnier
29b9cb9613 Use err(3). 1997-10-27 12:21:10 +00:00
charnier
32c601ba50 Use err(3). Add prototypes. Document -s and -r flags. 1997-10-27 07:55:31 +00:00
charnier
54e2b69a0f Statisize usage(). 1997-10-27 07:53:22 +00:00
charnier
254bdc1ce7 Use err(3). Stylistic changes in man page. 1997-10-27 07:52:10 +00:00
charnier
8098c0d2f3 Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.
1997-10-27 07:49:47 +00:00
charnier
8d124fec07 Use err(3). Change =' to ==' in two places, so that server not responding/
server ok is not displayed too often.
OKed by:		Bill (wpaul).
1997-10-27 07:45:47 +00:00
charnier
fb8e8d64e8 ntohl->htonl.
OKed by:	Bruce
1997-10-27 07:41:12 +00:00
brian
730654969b Cosmetic:
Move prototypes into the correct headers.
1997-10-26 12:42:13 +00:00
helbig
1433c9c29e Typo. 1997-10-26 10:37:35 +00:00
nate
c68183d0b8 - Do a bunch of gratuitous changes intended to make the code easier to
follow.
 * Rename/reorder all of the pccard structures, change many of the member
   names to be descriptive, and follow more closely other 'bus' drivers
   naming schemes.
 * Rename a bunch of parameter and local variable names to be more
   consistant in the code.
 * Renamed the PCCARD 'crd' device to be the 'card' device
 * KNF and make the code consistant where it was obvious.
 * ifdef'd out some unused code
1997-10-26 04:36:24 +00:00
brian
486b8925ec Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes
1997-10-26 01:04:02 +00:00
jkh
8a403dc5c9 Fix typo in startup menu.
Submitted by:	max
1997-10-25 09:27:20 +00:00
brian
5edc0d2f34 sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache
1997-10-24 22:36:31 +00:00
max
8430e6b7e6 Pkg_add refused to process package whose packing list contains @exec/@unexec
before any file names.  This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB].  Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by:	jkh
1997-10-24 08:32:06 +00:00
ache
2ac9673aae Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions
1997-10-23 21:32:48 +00:00
ache
39156922f6 Remove private sleep/usleep hacks 1997-10-23 20:11:01 +00:00
brian
b8215996d7 Fix various filter problems
PR:		4727
Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1997-10-23 10:09:35 +00:00
charnier
90755c07f9 Use err(3). Add usage() and prototypes.
Hide reference to trsp(8) that does not exist.
1997-10-22 06:23:12 +00:00
charnier
f4735827f2 Use err(3).
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
brian
9060aacb1c Fix HDLC logging (actually LogDumpBp()). It was only
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
peter
cac6af7db2 For safety's sake, explicitly depend all objects on the configvers.h header
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
b57d8acf74 Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'.  If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places.  If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
charnier
a9eeb3d932 Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
charnier
a9b89e1f31 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
charnier
951a274309 Use err(3). Remove progname. 1997-10-20 12:51:34 +00:00
charnier
a0d3c902e1 Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4,
use MLINKS instead.
1997-10-20 12:50:57 +00:00
charnier
47824fa253 Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
charnier
2c674948c9 Typo. 1997-10-20 12:43:03 +00:00
charnier
6d5fb19194 Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
jkh
f3020bbe23 Document 100Mbit media selection flag. 1997-10-20 08:11:25 +00:00
dg
c9410919df "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since
we no longer support that sysctl (in my opinion, pstat -v is a security
hole in any case).
1997-10-19 18:41:23 +00:00
joerg
b429d6bbe4 Fix a number of buffer overflow conditions.
PR:		bin/4610
Submitted by:	David Holland (dholland@burgundy.eecs.harvard.edu)
1997-10-19 10:42:39 +00:00
jkh
9237618bdb Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
brian
044c4aaa12 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
joerg
8be97d8b61 Something that should have been done 2.5 years ago: install pcvt's
accompanying doc files into /usr/share/pcvt/.  (This goes to the `doc'
distribution, not `bin'.)
1997-10-18 10:40:02 +00:00
jkh
fbcce1e304 - do string-magic on the right variable when trying
to find dependent packages on the local disk (i.e. package given as
   filename, not URL)
 - document $PKG_PATH
 - use -v on pkg_add for dependent packages

Submitted by:	hubertf@NetBSD.ORG
Obtained from:	NetBSD
1997-10-18 05:54:17 +00:00
jkh
835fbd1d3a Deal with PLIST_UNEXEC properly.
PR:		4784
Submitted by:	Stefan `Sec` Zehl <sec@quit.42.org>
1997-10-18 05:42:05 +00:00