PVE-mods/src/modules/nag_screen/patches/post-apply.sh
Meliox 71e95cc630 refactor: restructure src/ into modules/, scripts/, and build/
- src/nag_screen/ and src/node_info/ -> src/modules/  (mods grouped explicitly)
- src/Scripts/ -> src/scripts/                        (lowercase, consistent)
- src/gen-rules.sh -> build/                          (build tool separated from source)

Update all references: debian/rules, .github/workflows/*, build/gen-rules.sh,
src/scripts/test/test-syntax.sh (SRC_DIR now points to src/modules/),
src/scripts/test/test-patches.sh, and files.list comments.
2026-08-08 23:35:19 +02:00

9 lines
307 B
Bash

#!/usr/bin/env bash
# post-apply hook for the nag_screen mod.
# Runs after nag_screen patches are applied. Provided env: MOD_CONF, STASH_DIR,
# CONFD_DIR. Requests a pveproxy restart so the patched UI is served.
# Exit codes: 0 = no change, 100 = changed (restart pveproxy), other = error.
set -u
exit 100