evobackup/lib/bkctld-list
Victor LABORIE 842e57ba53 Big refactoring
* Jails are created on start and run in tmpfs
* All config files are on /etc/bkctld
* Cleaning of sshd_config and /etc/group
2020-01-08 14:46:18 +01:00

13 lines
193 B
Bash
Executable file

#!/bin/sh
#
# List jails
# Usage: list
#
set -eu
LIBDIR="$(dirname $0)" && . "${LIBDIR}/config"
[ -d "${CONFDIR}" ] || exit 0
find "${CONFDIR}" -mindepth 1 -maxdepth 1 -type d|sed 's!.*/!!'