From 709e87e5dc2b124287a96d10ad70d955574ad99e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Oct 2005 16:22:05 +0000 Subject: Last cleanups before committing --- ezjail.conf.sample | 4 ++-- ezjail.sh | 6 +++--- man1/ezjail-admin.1 | 13 +++++++------ man5/ezjail.5 | 1 - 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ezjail.conf.sample b/ezjail.conf.sample index 9a2cc64..5c5e589 100755 --- a/ezjail.conf.sample +++ b/ezjail.conf.sample @@ -1,7 +1,7 @@ -# ezjail.conf - Example file, see ezjail(x) +# ezjail.conf - Example file, see ezjail.conf(5) # # Note: If you alter some of those variables AFTER creating your first -# jail, you may have to adapt /etc/fstab.* and ${PREFIX}/etc/ezjail/* by +# jail, you may have to adapt /etc/fstab.* and EZJAIL_PREFIX/etc/ezjail/* by # hand # Location of jail root directories diff --git a/ezjail.sh b/ezjail.sh index 9e59dc2..de226c7 100755 --- a/ezjail.sh +++ b/ezjail.sh @@ -4,13 +4,13 @@ # # PROVIDE: ezjail # -# Note: Add the following lines to $PREFIX/etc/rc.conf to enable ezjail, +# Note: Add the following lines to /etc/rc.conf to enable ezjail, # #ezjail_enable="YES" # -# Please do not change this file, configure in $PREFIX/etc/ezjail.conf +# Please do not change this file, configure in EZJAIL_PREFIX/etc/ezjail.conf -# ugly: this variable will be set on port install time +# ugly: this variable is set on port install time ezjail_prefix=EZJAIL_PREFIX . /etc/rc.subr diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1 index 56cd15c..8e42e46 100755 --- a/man1/ezjail-admin.1 +++ b/man1/ezjail-admin.1 @@ -38,23 +38,24 @@ in situations where you just want to alter some of a jail properties and called ezjail-admin delete without the -w option before. However, sanity checks are being performed. -It then creates an entry in its /etc/ezjail directory allowing the -jail to be brought up after next reboot. +It then creates an entry in its etc/ezjail/ resource directory allowing +the jail to be brought up after next reboot. If the ezjail_mount_enable option is set, a /etc/fstab.hostname is generated, allowing the basejail to be auto-mounted when the jail starts up. -Options for newly created jails are read from ezjail.conf, refer to -ezjail.conf(5) for more information. +Options for newly created jails are read from +.B ezjail.conf, +refer to ezjail.conf(5) for more information. .SH ezjail-admin delete -removes a jail from ezjails /etc/ezjail resource directory thus preventing +removes a jail from ezjails etc/ezjail/ resource directory thus preventing it from being brought up on next reboot. It then removes the /etc/fstab.hostname entry, if it exists. If the -w (wipe) option is given, the directory pointed to by the jail -root entry is removed as well as the soft link, if necessary. +root entry is removed as well as the soft link in ezjails root dir. .SH ezjail-admin list lists all jails inside ezjails scope, together with some information on them. diff --git a/man5/ezjail.5 b/man5/ezjail.5 index 842af30..1f84ffa 100755 --- a/man5/ezjail.5 +++ b/man5/ezjail.5 @@ -17,7 +17,6 @@ is filled with most userland binaries and libraries and then mounted read only into a number of stripped down jails via .B mount_nullfs(8) - thus saving lots of inodes and memory resources. - .SH INVOCATION The ezjail script .B EZJAIL_PREFIX/etc/rc.d/ezjail.sh -- cgit v1.2.3