RINSTALL(1) General Commands Manual RINSTALL(1)

NAME

rinstallfetch and install scripts over http

SYNOPSIS

rinstall [-o owner:group] [-m mode] source target

DESCRIPTION

rinstall is shipped to remote machines by rset(1) to provide a standard method of installing files made available over HTTP, or from the current working directory if it already exists.
If the target does not exist it is created. If the target exists but is not the same, diff(1) is called to display the difference before the target is updated. The arguments are as follows:
 
 
-o
Owner and/or group to set. This argument is passed to chown(8).
 
 
-m
Mode to set when a file is updated. This argument is passed to chmod(1).

ENVIRONMENT

The source argument is a relative path that is appended to the environment variable INSTALL_URL.

EXIT STATUS

The rinstall utility exits with one of the following values:
0
File was installed or updated
1
No changes were made
2
Incorrect parameters
3
Unable to fetch requested file

SEE ALSO

ftp(1)
September 13, 2018 OpenBSD 6.3