This commit is contained in:
eric
2026-05-16 19:24:30 -05:00
parent 19beec12a5
commit 75a0ca4e31
260 changed files with 51345 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# git pull 后若只改了 systemd 模板(如 StartLimit执行本脚本重写 live-console.service 并 enable --now
set -euo pipefail
SELF_DIR="$(cd "$(dirname "$0")" && pwd)"
INSTALL_TAG="refresh-unit"
. "$SELF_DIR/lib/common.sh"
ensure_root "$@"
load_env
log "Rewriting /etc/systemd/system/live-console.service from repo"
install_live_console_service
log "Done. Check: systemctl status live-console.service --no-pager"