Minor change, update comment
This commit is contained in:
@@ -72,8 +72,7 @@ update_jailconf() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update_fstab() {
|
update_fstab() {
|
||||||
# Update fstab .bastille mountpoint on thin containers only
|
# Update fstab to use the new name
|
||||||
# Set some variables
|
|
||||||
FSTAB_CONFIG="${bastille_jailsdir}/${NEWNAME}/fstab"
|
FSTAB_CONFIG="${bastille_jailsdir}/${NEWNAME}/fstab"
|
||||||
FSTAB_RELEASE=$(grep -owE '([1-9]{2,2})\.[0-9](-RELEASE|-RC[1-2]|-stable-build-[0-9]{1,3})' ${FSTAB_CONFIG})
|
FSTAB_RELEASE=$(grep -owE '([1-9]{2,2})\.[0-9](-RELEASE|-RC[1-2]|-stable-build-[0-9]{1,3})' ${FSTAB_CONFIG})
|
||||||
FSTAB_CURRENT=$(grep -w ".*/releases/.*/jails/${TARGET}/root/.bastille" ${FSTAB_CONFIG})
|
FSTAB_CURRENT=$(grep -w ".*/releases/.*/jails/${TARGET}/root/.bastille" ${FSTAB_CONFIG})
|
||||||
|
|||||||
Reference in New Issue
Block a user