mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 18:58:11 +01:00
bootstrap: Don't need migratedir
This commit is contained in:
@@ -108,18 +108,6 @@ bootstrap_directories() {
|
||||
chmod 0750 "${bastille_backupsdir}"
|
||||
fi
|
||||
|
||||
## ${bastille_migratedir}
|
||||
if [ ! -d "${bastille_migratedir}" ]; then
|
||||
if checkyesno bastille_zfs_enable; then
|
||||
if [ -n "${bastille_zfs_zpool}" ]; then
|
||||
zfs create ${bastille_zfs_options} -o mountpoint="${bastille_migratedir}" "${bastille_zfs_zpool}/${bastille_zfs_prefix}/migrate"
|
||||
fi
|
||||
else
|
||||
mkdir -p "${bastille_migratedir}"
|
||||
fi
|
||||
chmod 777 "${bastille_migratedir}"
|
||||
fi
|
||||
|
||||
## ${bastille_cachedir}
|
||||
if [ ! -d "${bastille_cachedir}" ]; then
|
||||
if checkyesno bastille_zfs_enable; then
|
||||
@@ -681,4 +669,4 @@ case "${OPTION}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
echo
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user