start.sh
#!/bin/sh
cd ~/dmx-playback/apps/build/
artnet-playback/artnet-playback sample-config.json
Append to ~/.bashrc:
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
echo "Hello SSH"
else
echo "Hello local console"
/home/pi/start.sh
fi