From 3b3fbef634400a51012509a452e8a745a62c2cdc Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 28 Jun 2026 19:02:06 +0800 Subject: [PATCH] Revert "fix(recovery): remove immutable failclosed cron source" This reverts commit ba444193a051f38fbb754fe590aaf057201f47fd. --- scripts/reboot-recovery/enforce-110-runner-failclosed.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/reboot-recovery/enforce-110-runner-failclosed.sh b/scripts/reboot-recovery/enforce-110-runner-failclosed.sh index cb6fe681..d6742f2c 100755 --- a/scripts/reboot-recovery/enforce-110-runner-failclosed.sh +++ b/scripts/reboot-recovery/enforce-110-runner-failclosed.sh @@ -467,7 +467,9 @@ SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin * * * * * root /usr/local/lib/awoooi/enforce-110-runner-failclosed.authority.sh --apply >>/var/log/awoooi-runner-failclosed-authority-cron.log 2>&1 EOF + as_root chattr -i /etc/cron.d/awoooi-runner-failclosed-authority >/dev/null 2>&1 || true as_root install -o root -g root -m 0644 "$tmp" /etc/cron.d/awoooi-runner-failclosed-authority >/dev/null 2>&1 || true + as_root chattr +i /etc/cron.d/awoooi-runner-failclosed-authority >/dev/null 2>&1 || true rm -f "$tmp" }