Now moving to new style rc naming scheme

This commit is contained in:
erdgeist 2011-08-31 21:48:20 +00:00
parent 8228b950df
commit 44c679fcea
3 changed files with 9 additions and 9 deletions

View File

@ -11,11 +11,11 @@ install:
cp -p ezjail.conf.sample ${PREFIX}/etc/ cp -p ezjail.conf.sample ${PREFIX}/etc/
cp -R -p examples/example ${PREFIX}/share/examples/ezjail/ cp -R -p examples/example ${PREFIX}/share/examples/ezjail/
cp -R -p examples/nullmailer-example ${PREFIX}/share/examples/ezjail/ cp -R -p examples/nullmailer-example ${PREFIX}/share/examples/ezjail/
sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${PREFIX}/etc/rc.d/ezjail.sh sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${PREFIX}/etc/rc.d/ezjail
sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin
sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${PREFIX}/man/man8/ezjail-admin.8 sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${PREFIX}/man/man8/ezjail-admin.8
sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${PREFIX}/man/man5/ezjail.conf.5 sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${PREFIX}/man/man5/ezjail.conf.5
sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${PREFIX}/man/man7/ezjail.7 sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${PREFIX}/man/man7/ezjail.7
chmod 755 ${PREFIX}/etc/rc.d/ezjail.sh ${PREFIX}/bin/ezjail-admin chmod 755 ${PREFIX}/etc/rc.d/ezjail ${PREFIX}/bin/ezjail-admin
chown -R root:wheel ${PREFIX}/man/man8/ezjail-admin.8 ${PREFIX}/man/man5/ezjail.conf.5 ${PREFIX}/man/man7/ezjail.7 ${PREFIX}/share/examples/ezjail/ chown -R root:wheel ${PREFIX}/man/man8/ezjail-admin.8 ${PREFIX}/man/man5/ezjail.conf.5 ${PREFIX}/man/man7/ezjail.7 ${PREFIX}/share/examples/ezjail/
chmod 0440 ${PREFIX}/share/examples/ezjail/example/usr/local/etc/sudoers chmod 0440 ${PREFIX}/share/examples/ezjail/example/usr/local/etc/sudoers

View File

@ -57,7 +57,7 @@ are provided. A sample configuration is installed as
.Pa EZJAIL_PREFIX/etc/ezjail.conf.sample . .Pa EZJAIL_PREFIX/etc/ezjail.conf.sample .
.Pp .Pp
A script is also installed as A script is also installed as
.Pa ezjail.sh .Pa ezjail
in the rc.d system to allow jails under ezjails control to be started at boot in the rc.d system to allow jails under ezjails control to be started at boot
time, given ezjail is enabled by setting the time, given ezjail is enabled by setting the
.Xr rc.conf 5 .Xr rc.conf 5
@ -354,7 +354,7 @@ in the host, using the same sources.
Like all Like all
.Xr rc 8 .Xr rc 8
scripts, the ezjail script scripts, the ezjail script
.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh .Pa EZJAIL_PREFIX/etc/rc.d/ezjail
accepts parameters accepts parameters
.Cm start , restart No and Cm stop, No running, restarting and stopping .Cm start , restart No and Cm stop, No running, restarting and stopping
all (non-blocking) jails under ezjail's control by default. When passed an all (non-blocking) jails under ezjail's control by default. When passed an
@ -381,7 +381,7 @@ Note that jails configured to be in the
.Em norun .Em norun
state (using state (using
.Nm Cm config Fl r Ar norun Ar jailname ) .Nm Cm config Fl r Ar norun Ar jailname )
are never started by the ezjail.sh script. are never started by the ezjail rc script.
.Pp .Pp
As a convenient shortcut, the As a convenient shortcut, the
.Nm .Nm
@ -390,7 +390,7 @@ if they look like valid parameters.
.Pp .Pp
Even if ezjail is not enabled in the Even if ezjail is not enabled in the
.Xr rc.conf 5 , .Xr rc.conf 5 ,
ezjail.sh can be used to start and stop jails by prepending rc.d/ezjail can be used to start and stop jails by prepending
.Cm force No or Cm one No to the Cm start, restart No or Cm stop No parameter. .Cm force No or Cm one No to the Cm start, restart No or Cm stop No parameter.
Refer to Refer to
.Xr rc 8 .Xr rc 8
@ -632,7 +632,7 @@ variable to create the filesystem in.
.Sh FILES .Sh FILES
.Pa EZJAIL_PREFIX/bin/ezjail-admin .Pa EZJAIL_PREFIX/bin/ezjail-admin
.br .br
.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh .Pa EZJAIL_PREFIX/etc/rc.d/ezjail
.br .br
.Pa EZJAIL_PREFIX/etc/ezjail.conf .Pa EZJAIL_PREFIX/etc/ezjail.conf
.br .br

View File

@ -379,7 +379,7 @@ The following columns are the JID (when it is running), the IP addresses, the na
.Pp .Pp
This is a shortcut to the This is a shortcut to the
.Xr rc 8 .Xr rc 8
.Cm ezjail.sh .Cm ezjail
script. Refer to script. Refer to
.Xr ezjail 7 .Xr ezjail 7
section section
@ -585,7 +585,7 @@ filesystem is taken first.
.Sh FILES .Sh FILES
.Pa EZJAIL_PREFIX/bin/ezjail-admin .Pa EZJAIL_PREFIX/bin/ezjail-admin
.br .br
.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh .Pa EZJAIL_PREFIX/etc/rc.d/ezjail
.br .br
.Pa EZJAIL_PREFIX/etc/ezjail.conf .Pa EZJAIL_PREFIX/etc/ezjail.conf
.br .br