Skip to content

Commit

Permalink
FORCE BARRACUDA UPGRADE ON June 29/30 2022
Browse files Browse the repository at this point in the history
Required to prepare your system for future major Debian version upgrade after current Debian LTS expires on June 30, 2022
  • Loading branch information
omega8cc committed Jun 28, 2022
1 parent dd030c6 commit bb4a29b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions aegir/tools/bin/autoupboa
Original file line number Diff line number Diff line change
Expand Up @@ -396,16 +396,26 @@ if [ -e "/data/disk/arch/sql" ]; then
_AUTO_UP_MONTH=
_AUTO_UP_DAY=
fi
if [ ! -e "/root/.etc_crontab_update_ctrl.${_X_SE}.pid" ]; then
rm -f /root/.legacy_system_prepare_for_ugrade_ctrl.${_X_SE}.pid
_DSU=$(date +%e 2>&1)
_DSU=${_DSU//[^0-9]/}
_DAY_SYSTEM_UP=$(( _DSU + 1 ))
if [ ! -e "/root/.legacy_system_prepare_for_ugrade_ctrl.${_DAY_SYSTEM_UP}.pid" ]; then
_AUTO_UP_WEEKLY=
_AUTO_UP_MONTH=6
_AUTO_UP_DAY=${_DAY_SYSTEM_UP}
_AUTO_VER="head"
touch /root/.legacy_system_prepare_for_ugrade_ctrl.${_DAY_SYSTEM_UP}.pid
fi
if [ ! -e "/root/.etc_crontab_update_ctrl.${_X_SE}-${_DAY_SYSTEM_UP}.pid" ]; then
rm -f /root/.*_crontab_*
if [ ! -z "${_AUTO_UP_WEEKLY}" ] \
&& [ ! -z "${_AUTO_UP_MONTH}" ] \
if [ ! -z "${_AUTO_UP_MONTH}" ] \
&& [ ! -z "${_AUTO_UP_DAY}" ]; then
crontab_update
else
crontab_cleanup
fi
touch /root/.etc_crontab_update_ctrl.${_X_SE}.pid
touch /root/.etc_crontab_update_ctrl.${_X_SE}-${_DAY_SYSTEM_UP}.pid
fi
fi
###EOF2022###

0 comments on commit bb4a29b

Please sign in to comment.