dispatch-turn.sh (headless turn launcher with TURN_MODEL routing), queue-after.sh (serial gate chain + quota-wall guard), pmo-heartbeat.sh (PMO wake loop), quota-probe-then-chain.sh (post-wall relaunch).
20 lines
699 B
Bash
Executable File
20 lines
699 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# root-rename-inbox.sh — rename /home/_crossfeed/inbox/founder -> inbox/rceo
|
|
# (Charles dislikes "founder" as a name for himself.) Idempotent. Root runs:
|
|
# sudo bash ~/.coordinate/scripts/root-rename-inbox.sh
|
|
set -euo pipefail
|
|
[[ $EUID -eq 0 ]] || { echo "run as root: sudo bash $0"; exit 1; }
|
|
src=/home/_crossfeed/inbox/founder
|
|
dst=/home/_crossfeed/inbox/rceo
|
|
if [[ -d $src && ! -e $dst ]]; then
|
|
mv "$src" "$dst"
|
|
elif [[ -d $dst ]]; then
|
|
echo "already renamed"
|
|
else
|
|
echo "source missing: $src"; ls -la /home/_crossfeed/inbox/; exit 1
|
|
fi
|
|
chown reachableceo:users "$dst"
|
|
chmod 3775 "$dst"
|
|
ls -ld "$dst"
|
|
echo "OK. Remind PMO to update PROTOCOL.md path references."
|