Commit Graph

14 Commits

Author SHA1 Message Date
joerg
1444b07e5e Explicitly request literal mode after .Xr. 2009-10-15 02:15:19 +00:00
apb
3c2b458230 In both postinstall and etcupdate, in modes where the -s argument
refers to tgz files or to a directory in which tgz files have already
been extracted, make it an error for the files that should have come
from etc.tgz to be missing.  This is intended to prevent users from
accidentally deleting necessary files when they run "postinstall -s
xetc.tgz fix".

Use the absence of .../etc/mtree/set.etc in the extracted directory
as a test for the error case.
2008-10-04 08:07:38 +00:00
apb
2d19284cc9 Document that "ss tgz1:tgz2" was merely deprecated, not removed. 2008-09-14 14:24:15 +00:00
apb
9599e1b7c8 Document the change in meaning of "-s foo:bar". It now means a single
file or directory named "foo:bar".  If you want the old meaning,
use "-s foo -s bar" instead.
2008-09-07 15:24:04 +00:00
apb
bf49cd32ad Try to make it clear that local changes will be overwritten
by "postinstall fix".
2008-05-03 09:44:45 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
wiz
8e492a60da Typo fix. 2007-12-01 19:38:38 +00:00
pavel
9188cd99a0 Separate postinstall checks in two groups: enabled and disabled by
default. Only the former checks/fixes are done if no items are given
on the command line. The latter must be requested explicitely.

Intended for "fixes" that are dangerous in some way, because they might
remove files that are still in use, for example.

Make the "sendmail" item disabled by default, it removes sendmail
configuration. Partly addresses PR install/36180.

Proposed on tech-userlevel, review and spelling fixes from lukem@.
2007-06-02 21:25:08 +00:00
apb
bc4861bd29 * Make postinstall's -s option accept several tgz files, either by
repeating the -s option, or by using a colon-separated list.
* Update postinstall(8) man page with some of the text used in
  etcupdate(8)'s description of the -s option.
* Remove an outdated comment about invoking etc/postinstall from
  the directory in which the tgz is extracted.
* Rename orig_SRC_DIR to SRC_ARG and make related changes.

Reviewed by lukem and martti.
2007-03-26 18:09:42 +00:00
hubertf
f83266c2e3 Explain that etcupdate(8) may do the job that postinstall(8) can't
do. (Example: fix master.passwd to include _rwhod and whatnot)

OK'd by lukem@
2006-08-18 12:02:55 +00:00
hubertf
ac583aa32a Xref etcupdate from postinstall, and vice versa. 2006-08-11 20:28:22 +00:00
lukem
d4b0741135 not all items can be fixed automatically 2005-09-12 15:42:12 +00:00
lukem
9358e88bbf Update for move to /usr/sbin.
Add a HISTORY.
2005-04-17 15:27:23 +00:00
lukem
5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00