summaryrefslogtreecommitdiff
path: root/sysutils/etcupdate/files/etcupdate.8
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/etcupdate/files/etcupdate.8')
-rw-r--r--sysutils/etcupdate/files/etcupdate.847
1 files changed, 31 insertions, 16 deletions
diff --git a/sysutils/etcupdate/files/etcupdate.8 b/sysutils/etcupdate/files/etcupdate.8
index 51dd7171626..897f08dcabe 100644
--- a/sysutils/etcupdate/files/etcupdate.8
+++ b/sysutils/etcupdate/files/etcupdate.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: etcupdate.8,v 1.3 2001/11/21 11:58:07 martti Exp $
+.\" $NetBSD: etcupdate.8,v 1.4 2001/11/22 15:39:31 martti Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -43,6 +43,7 @@
.Pa /etc
.Sh SYNOPSIS
.Nm
+.Op Fl b Ar binfile
.Op Fl h
.Op Fl p Ar pager
.Op Fl s Ar srcdir
@@ -53,28 +54,34 @@
.Nm
is a tool to update the configuration and startup files in
.Pa /etc
+(and some other directories like
+.Pa /dev
+and
+.Pa /root )
without the need of manually checking and modifying every file.
The user should run this script after performing an operating system
update (e.g. after running
.Pa make build
in
-.Pa /usr/src )
-to use the latest configuration and startup files during reboot.
+.Pa /usr/src
+or after extracting the binary distribution files)
+to use the latest configuration and startup files.
.Pp
.Nm
will first create a copy of the new configuration and startup files
-(by running
+(by either running
.Pa make distribution
in
-.Pa /usr/src/etc )
-and compare these against the currently installed files. The user is given
-the option of installing, merging or deleting each modified or missing file.
+.Pa /usr/src/etc
+or extracting the given binary distribution files) and compare these
+against the currently installed files. The user is given the option
+of installing, merging or deleting each modified or missing file.
.Pp
.Nm
also detects if the user installs certain special files and performs
-corresponding tasks like remaking the device nodes or rebuilding a database
+corresponding tasks like remaking device nodes or rebuilding a database
from the
-.Pa /etc/mail/aliases
+.Xr aliases 5
file.
.Sh ENVIRONMENT
.Bl -tag -width TEMPROOT
@@ -132,21 +139,29 @@ settings.
You have just upgraded your
.Nx
host from 1.5.2 to 1.5.3 and now it's time
-to update the configuration files as well. This can be done with the
-following command:
+to update the configuration files as well.
+To update the configuration files from the sources (if you have the
+.Pa /usr/src
+directory):
.Dl etcupdate
.Pp
-To get a better idea what's going on, use the
-.Fl v
-flag:
-.Dl etcupdate -v
-.Pp
The default location of the source files is
.Pa /usr/src
but this may be overridden with the
.Fl s Ar srcdir
command line argument:
.Dl etcupdate -s /some/where/src
+.Pp
+To update the configuration files from binary distribution packages
+(note that you can specify more than one
+.Fl b Ar binfile
+argument):
+.Dl etcupdate -b /some/where/etc.tgz
+.Pp
+To get a better idea what's going on, use the
+.Fl v
+flag:
+.Dl etcupdate -v
.Sh AUTHORS
The
script was written by Martti Kuparinen <martti@netbsd.org> and