Improve bootstrap setup and script permissions

This commit is contained in:
avi
2026-04-20 13:57:51 -05:00
parent c5966bced7
commit a400b8151a

View File

@@ -3,6 +3,18 @@ set -euo pipefail
BASE_DIR="$(cd "$(dirname "$0")" && pwd)"
mkdir -p "$BASE_DIR/generated"
chmod +x "$BASE_DIR/scripts/probe.sh"
chmod +x "$BASE_DIR/scripts/render-config.py"
if [ -f "$BASE_DIR/scripts/burst-95.sh" ]; then
chmod +x "$BASE_DIR/scripts/burst-95.sh"
fi
if [ -f "$BASE_DIR/scripts/normal-80.sh" ]; then
chmod +x "$BASE_DIR/scripts/normal-80.sh"
fi
"$BASE_DIR/scripts/probe.sh"
python3 "$BASE_DIR/scripts/render-config.py"
@@ -15,3 +27,6 @@ cat "$BASE_DIR/generated/machine-profile.json"
echo
echo "=== continue config ==="
echo "~/.continue/config.yaml updated"
echo
echo "=== ollama limits ==="
systemctl show ollama | grep -E 'CPUQuota|MemoryHigh|MemoryMax'