__jail: started -> stopped, correct help output

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-11-27 10:57:10 +01:00
parent fd8fdf8b54
commit 1bd27fffae
3 changed files with 6 additions and 6 deletions

View file

@ -34,8 +34,8 @@ fi
state="$(cat "$__object/parameter/state")"
started="false"
[ -f "$__object/parameter/started" -a "$state" = "present" ] && started="true"
started="true"
[ -f "$__object/parameter/stopped" ] && started="false"
if [ -f "$__object/parameter/ip" ]; then
ip="$(cat "$__object/parameter/ip")"
@ -75,7 +75,7 @@ fi
# is pointless. Treat this as an error.
if [ -n "$devfsruleset" -a "$devfsenable" = "false" ]; then
exec >&2
echo "Can't have --devfs-ruleset defined without --devfs-disable"
echo "Can't have --devfs-ruleset defined with --devfs-disable"
exit 1
fi

View file

@ -49,8 +49,8 @@ jaildir::
BOOLEAN PARAMETERS
------------------
started::
Whether to start jail
stopped::
Do not start the jail
devfs-disable::
Whether to disallow devfs mounting within the jail

View file

@ -1,3 +1,3 @@
onboot
started
stopped
devfs-disable