mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
periodic: by default, skip 221.backup-gpart in jails
It can still be enabled as usual in /etc/periodic.conf PR: 256253 Reported by: delphij Submitted by: Miroslav Lachman <000.fbsd@quip.cz> MFC after: 2 weeks
This commit is contained in:
parent
64e6e1e463
commit
fcf2227a55
1 changed files with 6 additions and 1 deletions
|
|
@ -78,7 +78,12 @@ daily_backup_passwd_enable="YES" # Backup passwd & group
|
|||
daily_backup_aliases_enable="YES" # Backup mail aliases
|
||||
|
||||
# 221.backup-gpart
|
||||
daily_backup_gpart_enable="YES" # Backup partition table/boot partition/MBR
|
||||
if [ $(sysctl -n security.jail.jailed) = 0 ]; then
|
||||
# Backup partition table/boot partition/MBR
|
||||
daily_backup_gpart_enable="YES"
|
||||
else
|
||||
daily_backup_gpart_enable="NO"
|
||||
fi
|
||||
daily_backup_gpart_verbose="NO" # Be verbose if new backup differs from the old one
|
||||
daily_backup_efi_enable="NO" # Backup EFI system partition (ESP)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue