#!/bin/bash Q3A_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" chmod 644 "$Q3A_DIR/baseq3/autoexec.cfg" echo "Server mode activated. Write access restored to autoexec.cfg." echo "Available server scripts in: $Q3A_DIR/scripts/" ls "$Q3A_DIR/scripts/server-"*.sh