🚀 Sync 2026-10-28 01:43:31

This commit is contained in:
github-actions[bot] committed 2026-10-28 01:43:31 +08:00
1 parent e646593c56
commit d42296f292
162 files changed
+356 -233

No files matched your search

+4 -1
View File
@@ -735,9 +735,12 @@ cleanup_legacy_startup_backups() {
#===========================================================================================================================
# Historical backup artifacts can clutter LuCI "System -> Startup".
# Keep runtime clean by removing known obsolete backup filenames.
# The old `*bak*` glob also wiped other packages' backups (e.g. wireless.bak),
# so scope it to Clashoo's own script names (legacy `clash`, current `clashoo`).
# `._*` is macOS AppleDouble metadata, never a valid init script, so it stays.
rm -f /etc/init.d/._clash \
/etc/init.d/._* \
/etc/init.d/*bak* >/dev/null 2>&1 || true
/etc/init.d/clash*bak* >/dev/null 2>&1 || true
#===========================================================================================================================
}