summaryrefslogtreecommitdiff
path: root/examples/example/etc
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-10-07 21:22:28 +0000
committererdgeist <erdgeist@erdgeist.org>2007-10-07 21:22:28 +0000
commit425dab96af6c64ac7eabb650f68e49da94e9587a (patch)
tree3326713934d1f4e18a6a8933c05b6cb4bffc6b93 /examples/example/etc
parent32bf68787b0aee5b3ad87adc65875615d722eb32 (diff)
Lots of things changed:
* delete now knows a -f switch which forces detach or stop, if jail is attached or running * restore added * archive now saves the whole tag to archive to later identify the jail and backup date * detach_images now also removes the soft link * starting/stopping a jail moved to its own function * I enforced some coding style guides * * [ -n "string" ] is replaced by [ "string" ] * * Command parameters are being quoted. This will later allow jail roots with spaces in its name * * variable assignments are always enclosed by exactly one of ${}, `` or "", (except for cases like a=${x}/${y:-"z"}). This means that a="${x}" now is a=${x} * * [ -z "string" ] && echo "Foo" is replaced by ["string" ] || echo "Foo", which normally reads out more naturally (i.e. [ "${jail_exists}" ] || exerr "Error: Jail does not exist." ) * * $? and $# are now always compared by -eq or -ne operators, not by = or !=
Diffstat (limited to 'examples/example/etc')
0 files changed, 0 insertions, 0 deletions