mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
freebsd-update: create deep BEs by default
The -r flag to bectl needs to go away, and we need to just do the right thing. In the meantime, we can apply an -r in freebsd-update as a minimal fix to stop creating partial backups in these (non-default) deep BE setups. PR: 267535
This commit is contained in:
parent
bb679b0c49
commit
989c5f6da9
1 changed files with 1 additions and 1 deletions
|
|
@ -916,7 +916,7 @@ install_create_be () {
|
|||
echo -n "Creating snapshot of existing boot environment... "
|
||||
VERSION=`freebsd-version -ku | sort -V | tail -n 1`
|
||||
TIMESTAMP=`date +"%Y-%m-%d_%H%M%S"`
|
||||
bectl create ${VERSION}_${TIMESTAMP}
|
||||
bectl create -r ${VERSION}_${TIMESTAMP}
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "done.";
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue