forked from ungleich-public/cdist
__jail: started -> stopped, correct help output
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
fd8fdf8b54
commit
1bd27fffae
3 changed files with 6 additions and 6 deletions
|
@ -34,8 +34,8 @@ fi
|
||||||
|
|
||||||
state="$(cat "$__object/parameter/state")"
|
state="$(cat "$__object/parameter/state")"
|
||||||
|
|
||||||
started="false"
|
started="true"
|
||||||
[ -f "$__object/parameter/started" -a "$state" = "present" ] && started="true"
|
[ -f "$__object/parameter/stopped" ] && started="false"
|
||||||
|
|
||||||
if [ -f "$__object/parameter/ip" ]; then
|
if [ -f "$__object/parameter/ip" ]; then
|
||||||
ip="$(cat "$__object/parameter/ip")"
|
ip="$(cat "$__object/parameter/ip")"
|
||||||
|
@ -75,7 +75,7 @@ fi
|
||||||
# is pointless. Treat this as an error.
|
# is pointless. Treat this as an error.
|
||||||
if [ -n "$devfsruleset" -a "$devfsenable" = "false" ]; then
|
if [ -n "$devfsruleset" -a "$devfsenable" = "false" ]; then
|
||||||
exec >&2
|
exec >&2
|
||||||
echo "Can't have --devfs-ruleset defined without --devfs-disable"
|
echo "Can't have --devfs-ruleset defined with --devfs-disable"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -49,8 +49,8 @@ jaildir::
|
||||||
|
|
||||||
BOOLEAN PARAMETERS
|
BOOLEAN PARAMETERS
|
||||||
------------------
|
------------------
|
||||||
started::
|
stopped::
|
||||||
Whether to start jail
|
Do not start the jail
|
||||||
|
|
||||||
devfs-disable::
|
devfs-disable::
|
||||||
Whether to disallow devfs mounting within the jail
|
Whether to disallow devfs mounting within the jail
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
onboot
|
onboot
|
||||||
started
|
stopped
|
||||||
devfs-disable
|
devfs-disable
|
||||||
|
|
Loading…
Reference in a new issue