-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART-RPI.sh
More file actions
34 lines (29 loc) · 839 Bytes
/
START-RPI.sh
File metadata and controls
34 lines (29 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
echo "========================================"
echo " RASPBERRY PI - AI AGENT STARTUP"
echo "========================================"
echo ""
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "[1/2] Installing dependencies..."
npm install
else
echo "[1/2] Dependencies already installed"
fi
echo "[2/2] Starting Raspberry Pi Agent..."
echo ""
echo "========================================"
echo " RASPBERRY PI AGENT ONLINE"
echo "========================================"
echo ""
echo "Device: Raspberry Pi"
echo ""
echo "Press Ctrl+C to stop the agent"
echo "========================================"
echo ""
# Replace with your actual script when ready
# Example: node raspberry-pi-agent.js
# For now, just keep running
while true; do
sleep 1
done