version 1.33, 2007/03/01 23:01:18 |
version 1.34, 2007/03/01 23:18:47 |
|
|
Temporary file for update lists. |
Temporary file for update lists. |
.El |
.El |
.Sh EXAMPLES |
.Sh EXAMPLES |
|
The following is an example |
|
.Pa distfile : |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
HOSTS = ( matisse root@arpa) |
HOSTS = ( matisse root@arpa) |
|
|
|
|
install /usr/local/lib ; |
install /usr/local/lib ; |
notify ralph ; |
notify ralph ; |
|
|
${FILES} :: stamp.cory |
sendmail.cf :: stamp.cory |
notify root@cory ; |
notify root@cory ; |
.Ed |
.Ed |
|
.Pp |
|
Using the above |
|
.Pa distfile : |
|
.Pp |
|
Update everything that's out of date, |
|
making any relevant notifications: |
|
.Pp |
|
.Dl $ rdist |
|
.Pp |
|
Update files in |
|
.Pa /usr/src/bin |
|
to host |
|
.Dq arpa , |
|
except for files with names ending |
|
.Dq .o |
|
or |
|
.Dq /SCCS : |
|
.Pp |
|
.Dl $ rdist srcs |
|
.Pp |
|
Update |
|
.Pa sendmail.cf |
|
if it's older than timestamp file |
|
.Pa stamp.cory , |
|
notifying root@cory if an update has happened: |
|
.Pp |
|
.Dl $ rdist sendmail.cf |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr rdistd 1 , |
.Xr rdistd 1 , |
.Xr rsh 1 , |
.Xr rsh 1 , |