summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-11-18do not confuse the reader telling he should use a towers of hanoiOtto Moerbeek
based scheme when it makes no sense: a weekly schedule does not benefit from it. ok mbalmer@ jmc@ ray@
2007-11-17Don't err() out if a fstab line refers to a non-existant mount point.Kenneth R Westerback
Just print an error message and allow processing to continue. This fixes 'mount -a' so it mounts all the filesystems it can rather than skipping all fstab entries after a non-existant mount point. This also brings us more into line with NetBSD and FreeBSD behaviour. ok deraadt@ jsing@ millert@
2007-11-13zap trailing whitespace;Jason McIntyre
2007-11-13Do not set explicit com parameters for the tty, instead use the exisitingMarc Balmer
ones and onl change what the user requests. Do not artifically limit the baudrates. prodding and ok by deraadt.
2007-11-13Bring back the number converter for 'set hostid'.Marco Pfatschbacher
I forgot to think about hex numbers when I removed it. OK deraadt@
2007-11-12Remove space/tab compression function from lgetc() and replaceMarco Pfatschbacher
it with a simple filter in the yylex() loop. The compression in lgetc() didn't happen for quoted strings, thus creating a regression when tabs were used in variables. Some testing by todd@ and pyr@ OK deraadt@
2007-11-12+.Xr cdio 1 ,Jason McIntyre
2007-11-12dont spew debug output when the SIOCGIFMEDIA ioctl errors with ENOTTY.David Gwynne
ok krw@ henning@
2007-11-11do not document -w: it is for compat only. just like we did for audioctl,Jason McIntyre
mixerctl, and wsconsctl. also move to "name=value", as for the other *ctl apps. problem spotted by Tim van der Molen, though this might not be the fix he wanted;
2007-11-09FFS_SOFTUPDATES:Jason McIntyre
- no need to document needing a config option when it is already enabled by default in GENERIC - move to format similar to "async" - grammar tweak whilst here agreed by miod (i think) ok millert
2007-11-09talk about "vlan-tag" consistently; from Tero KoskinenJason McIntyre
2007-11-05forgotten arg to printf, Tobias UlmerOtto Moerbeek
2007-11-05- clarify the descriptions of "sync" and "async"Jason McIntyre
- "async" and "softdep" are mutually exclusive (from simon) - change the "no" example to sth potentially less confusing (and safer) some feedback from millert ok simon
2007-11-03document different types for "device" and improve startup description;Jason McIntyre
this is really an mbalmer diff, tweaked by myself ok deraadt mbalmer
2007-11-034800Theo de Raadt
2007-11-03tweaks;Jason McIntyre
2007-11-03use tty01 and mention the baud rate issueTheo de Raadt
2007-11-03Correct bad example, in /etc/ttys use the _tty_ not _cua_, of course.Marc Balmer
spottet by deraadt.
2007-11-03lintTheo de Raadt
2007-11-03Add ldattach.Marc Balmer
ok deraadt
2007-11-03ldattach(8) is a command to attach line discipline to a tty line. It canMarc Balmer
be used from the command line or from init(8) by adding an entry to the /etc/ttys file. ldattach(8) can be extended to support new line disciplines. feedback many, ok deraadt, mikeb
2007-10-31Don't leak potentially secret authname through ioctl interface.Mike Belopuhov
Suggestions from mpf@ and canacar@ ok deraadt mpf canacar
2007-10-25Fix probability rules w/ numbers (e.g probability 0.4).Marco Pfatschbacher
Add support for probablities of 0% and 100%. With and OK deraadt@
2007-10-24HW_PHYSMEM is unsignedPeter Stromberg
yuck & ok henning@
2007-10-22add missing header to avoid warningCharles Longeau
"Yes please" ray@ krw@
2007-10-22sync with daemon parser code.Pierre-Yves Ritschard
ok deraadt@
2007-10-22pfctl does not need file secrecyTheo de Raadt
2007-10-20add missing [-b block#] to the usage of fsck(8)Igor Sobrado
ok jmc@
2007-10-20an usage message should fit on a 80-column displayIgor Sobrado
ok jmc@
2007-10-20Strip trailing whitespace on input lines. Should make config files moreKenneth R Westerback
resistant to careless fingers. A variant of what NetBSD did to achieve the same ends. Feedback, suggestions & "looks good" ray@
2007-10-20document the "all" interface group; after some discussion w/ mpf and henningJason McIntyre
diff from Okan Demirmen ok henning
2007-10-18SIGCHLD is not an errno value.Ray Lai
Spotted by deraadt.
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16Allow unquoted numbers in variables.Marco Pfatschbacher
Change 'set hostid' to NUMBER and remove unneeded converter. Add '=' to allowed_to_end_number(x) to make varsets like 4=5 illegal. OK deraadt@
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr
2007-10-16"script" does not belong in the lease declaration section;Jason McIntyre
from Vincent GROSS ok henning
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-13support an include directive; file of course must also be "secure" likeTheo de Raadt
the main configuration file; ok henning
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas.
2007-10-13Unconditionally call the TIOCSTSTAMP ioctl, this way calling nmeaattach(8)Marc Balmer
without the '-t' option can be used to turn of tty timestamping. problem noticed by sthen@, ok sthen, deraadt
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others
2007-10-09Fix range check for carp vhid: vhid 0 isn't validJoel Knight
2007-10-08attribute packed -> __packedGilles Chehade
OK millert
2007-10-05check fgets return valueCharles Longeau
use strncmp instead of strcmp with help of ray@ "Looks OK" millert@
2007-10-01Backout NUMBER to string conversion.Marco Pfatschbacher
Requested by deraadt@
2007-09-29default to svnds now to accomodate change in the vnd driver.Felix Kronlage
from Piotr Durlej with man-page nits from me tested henning@, krw@, thib@ and myself. ok thib@, grunk@, krw@
2007-09-28sort options;Jason McIntyre
2007-09-27Add loginterface support for groups.Marco Pfatschbacher
Using a group sums up the statistics of all members. Modify pfctl(1) slightly to allow a groupname "all", which gives us an overall pf(4) statistic. OK henning@, markus@