#!/usr/bin/env bash
set -euo pipefail
test "$(id -u)" -eq 0 || { echo 'run as root' >&2; exit 1; }
test -f /usr/share/plymouth/themes/brz-healthos/brz-healthos.plymouth
plymouth-set-default-theme brz-healthos
update-initramfs -u -k all
update-grub
echo 'BRZ HealthOS boot and shutdown branding applied.'
