forked from evolix/evobackup
12 lines
292 B
Plaintext
12 lines
292 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
LIBDIR="$(dirname $0)" && . "${LIBDIR}/config"
|
||
|
|
||
|
jail="${1:-}"
|
||
|
[ -n "${jail}" ] || usage
|
||
|
check_jail "${jail}" || error "${jail} : trying to update inexistant jail"
|
||
|
check_jail_on "${jail}" && . "${LIBDIR}$/bkctld-stop" "${jail}"
|
||
|
|
||
|
. "${LIBDIR}/mkjail"
|
||
|
notice "${jail} : updated jail"
|