#!/usr/bin/env bash
# Undo the cbwnd interface deploy of 20260910-161858. Restores the .u/.xdat pair and
# republishes. NoliferAF.utx is deliberately left in place: with the old .u and
# xdat nothing references it, so it is just an unused texture package.
set -e
cp -p /opt/l2/client/backups/Interface.u.bak-cbwnd-20260910-161858    /opt/l2/client/files/system/Interface.u
cp -p /opt/l2/client/backups/Interface.xdat.bak-cbwnd-20260910-161858 /opt/l2/client/files/system/Interface.xdat
/usr/local/bin/l2-build-manifest 'rollback cbwnd 20260910-161858'
sha256sum /opt/l2/client/files/system/Interface.u /opt/l2/client/files/system/Interface.xdat
